blob: c40cf179a58f6de81407007c7134da21a7992e61 [file] [log] [blame]
Kristian Høgsberg75840622011-09-06 13:48:16 -04001<protocol name="desktop">
2
3 <interface name="desktop_shell" version="1">
4 <request name="set_background">
Benjamin Franzked0f79ab2011-11-22 12:43:52 +01005 <arg name="output" type="object" interface="wl_output"/>
Pekka Paalanen068ae942011-11-28 14:11:15 +02006 <arg name="surface" type="object" interface="wl_shell_surface"/>
Kristian Høgsberg75840622011-09-06 13:48:16 -04007 </request>
8
9 <request name="set_panel">
Benjamin Franzked0f79ab2011-11-22 12:43:52 +010010 <arg name="output" type="object" interface="wl_output"/>
Pekka Paalanen068ae942011-11-28 14:11:15 +020011 <arg name="surface" type="object" interface="wl_shell_surface"/>
Kristian Høgsberg75840622011-09-06 13:48:16 -040012 </request>
13
Pekka Paalanen9ef3e012011-11-15 13:34:48 +020014 <request name="set_lock_surface">
Pekka Paalanen068ae942011-11-28 14:11:15 +020015 <arg name="surface" type="object" interface="wl_shell_surface"/>
Pekka Paalanen9ef3e012011-11-15 13:34:48 +020016 </request>
17
18 <request name="unlock"/>
19
Kristian Høgsberg75840622011-09-06 13:48:16 -040020 <!-- We'll fold most of wl_shell into this interface and then
21 they'll share the configure event. -->
22 <event name="configure">
23 <arg name="time" type="uint"/>
24 <arg name="edges" type="uint"/>
Pekka Paalanen068ae942011-11-28 14:11:15 +020025 <arg name="surface" type="object" interface="wl_shell_surface"/>
Kristian Høgsberg75840622011-09-06 13:48:16 -040026 <arg name="width" type="int"/>
27 <arg name="height" type="int"/>
28 </event>
29
Pekka Paalanen9ef3e012011-11-15 13:34:48 +020030 <!-- Tell the shell we want it to create and set the lock surface,
31 which is a GUI asking the user to unlock the screen. The lock
32 surface is announced with 'set_lock_surface'. Whether or not
33 the shell actually implements locking, it MUST send 'unlock'
34 request to let the normal desktop resume. -->
35 <event name="prepare_lock_surface"/>
Kristian Høgsberg75840622011-09-06 13:48:16 -040036 </interface>
37
Pekka Paalanen6e168112011-11-24 11:34:05 +020038 <!-- Only one client can bind this interface at a time. -->
39 <interface name="screensaver" version="1">
40
41 <!-- Set the surface type as a screensaver for a particular output.
42 A screensaver surface is normally hidden, and only visible after
43 an idle timeout. -->
44 <request name="set_surface">
45 <arg name="surface" type="object" interface="wl_shell_surface"/>
46 <arg name="output" type="object" interface="wl_output"/>
47 </request>
48
49 </interface>
50
Kristian Høgsberg75840622011-09-06 13:48:16 -040051</protocol>