blob: a9c181ce19c7a037ff37a443dc7ac096f1523f26 [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øgsbergd56bd902012-06-05 09:58:51 -040026 <request name="set_busy_surface">
27 <arg name="surface" type="object" interface="wl_surface"/>
28 </request>
29
Kristian Høgsberg75840622011-09-06 13:48:16 -040030 <!-- We'll fold most of wl_shell into this interface and then
31 they'll share the configure event. -->
32 <event name="configure">
Kristian Høgsberg75840622011-09-06 13:48:16 -040033 <arg name="edges" type="uint"/>
Pekka Paalanen068ae942011-11-28 14:11:15 +020034 <arg name="surface" type="object" interface="wl_shell_surface"/>
Kristian Høgsberg75840622011-09-06 13:48:16 -040035 <arg name="width" type="int"/>
36 <arg name="height" type="int"/>
37 </event>
38
Tiago Vignatti7bef0662012-04-16 17:31:40 +030039 <event name="prepare_lock_surface">
40 <description summary="tell the client to create, set the lock surface">
41 Tell the shell we want it to create and set the lock surface, which is
42 a GUI asking the user to unlock the screen. The lock surface is
43 announced with 'set_lock_surface'. Whether or not the shell actually
44 implements locking, it MUST send 'unlock' request to let the normal
45 desktop resume.
46 </description>
47 </event>
Kristian Høgsberg75840622011-09-06 13:48:16 -040048 </interface>
49
Pekka Paalanen6e168112011-11-24 11:34:05 +020050 <interface name="screensaver" version="1">
Tiago Vignatti7bef0662012-04-16 17:31:40 +030051 <description summary="interface for implementing screensavers">
52 Only one client can bind this interface at a time.
53 </description>
Pekka Paalanen6e168112011-11-24 11:34:05 +020054
Pekka Paalanen6e168112011-11-24 11:34:05 +020055 <request name="set_surface">
Tiago Vignatti7bef0662012-04-16 17:31:40 +030056 <description summary="set the surface type as a screensaver">
57 A screensaver surface is normally hidden, and only visible after an
58 idle timeout.
59 </description>
60
Pekka Paalanen6e168112011-11-24 11:34:05 +020061 <arg name="surface" type="object" interface="wl_shell_surface"/>
62 <arg name="output" type="object" interface="wl_output"/>
63 </request>
64
65 </interface>
66
Kristian Høgsberg75840622011-09-06 13:48:16 -040067</protocol>