blob: 3c3ead4d891c3682868cb7c6c104bde2cc20bfeb [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
38</protocol>