blob: d2bb3eb02391226177c30ca8d6ba16e98a457699 [file] [log] [blame]
Kristian Høgsberg75840622011-09-06 13:48:16 -04001<protocol name="desktop">
2
3 <interface name="desktop_shell" version="1">
Tiago Vignatti7bef0662012-04-16 17:31:40 +03004 <description summary="create desktop widgets and helpers">
5 Traditional user interfaces can rely on this interface to define the
6 foundations of typical desktops. Currently it's possible to set up
7 background, panels and locking surfaces.
8 </description>
9
Kristian Høgsberg75840622011-09-06 13:48:16 -040010 <request name="set_background">
Benjamin Franzked0f79ab2011-11-22 12:43:52 +010011 <arg name="output" type="object" interface="wl_output"/>
Pekka Paalanen068ae942011-11-28 14:11:15 +020012 <arg name="surface" type="object" interface="wl_shell_surface"/>
Kristian Høgsberg75840622011-09-06 13:48:16 -040013 </request>
14
15 <request name="set_panel">
Benjamin Franzked0f79ab2011-11-22 12:43:52 +010016 <arg name="output" type="object" interface="wl_output"/>
Pekka Paalanen068ae942011-11-28 14:11:15 +020017 <arg name="surface" type="object" interface="wl_shell_surface"/>
Kristian Høgsberg75840622011-09-06 13:48:16 -040018 </request>
19
Pekka Paalanen9ef3e012011-11-15 13:34:48 +020020 <request name="set_lock_surface">
Pekka Paalanen068ae942011-11-28 14:11:15 +020021 <arg name="surface" type="object" interface="wl_shell_surface"/>
Pekka Paalanen9ef3e012011-11-15 13:34:48 +020022 </request>
23
24 <request name="unlock"/>
25
Kristian Høgsberg75840622011-09-06 13:48:16 -040026 <!-- We'll fold most of wl_shell into this interface and then
27 they'll share the configure event. -->
28 <event name="configure">
Kristian Høgsberg75840622011-09-06 13:48:16 -040029 <arg name="edges" type="uint"/>
Pekka Paalanen068ae942011-11-28 14:11:15 +020030 <arg name="surface" type="object" interface="wl_shell_surface"/>
Kristian Høgsberg75840622011-09-06 13:48:16 -040031 <arg name="width" type="int"/>
32 <arg name="height" type="int"/>
33 </event>
34
Tiago Vignatti7bef0662012-04-16 17:31:40 +030035 <event name="prepare_lock_surface">
36 <description summary="tell the client to create, set the lock surface">
37 Tell the shell we want it to create and set the lock surface, which is
38 a GUI asking the user to unlock the screen. The lock surface is
39 announced with 'set_lock_surface'. Whether or not the shell actually
40 implements locking, it MUST send 'unlock' request to let the normal
41 desktop resume.
42 </description>
43 </event>
Kristian Høgsberg75840622011-09-06 13:48:16 -040044 </interface>
45
Pekka Paalanen6e168112011-11-24 11:34:05 +020046 <interface name="screensaver" version="1">
Tiago Vignatti7bef0662012-04-16 17:31:40 +030047 <description summary="interface for implementing screensavers">
48 Only one client can bind this interface at a time.
49 </description>
Pekka Paalanen6e168112011-11-24 11:34:05 +020050
Pekka Paalanen6e168112011-11-24 11:34:05 +020051 <request name="set_surface">
Tiago Vignatti7bef0662012-04-16 17:31:40 +030052 <description summary="set the surface type as a screensaver">
53 A screensaver surface is normally hidden, and only visible after an
54 idle timeout.
55 </description>
56
Pekka Paalanen6e168112011-11-24 11:34:05 +020057 <arg name="surface" type="object" interface="wl_shell_surface"/>
58 <arg name="output" type="object" interface="wl_output"/>
59 </request>
60
61 </interface>
62
Kristian Høgsberg75840622011-09-06 13:48:16 -040063</protocol>