blob: 01cc6a93c1883f856d57a986f7989bd66b7c5fdf [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"/>
Kristian Høgsberg962342c2012-06-26 16:29:50 -040012 <arg name="surface" type="object" interface="wl_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"/>
Kristian Høgsbergaf7b1ff2012-06-26 21:19:23 -040017 <arg name="surface" type="object" interface="wl_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">
Kristian Høgsberg730c94d2012-06-26 21:44:35 -040021 <arg name="surface" type="object" interface="wl_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"/>
Kristian Høgsberg962342c2012-06-26 16:29:50 -040034 <arg name="surface" type="object" interface="wl_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
Kristian Høgsberg1a73a632012-06-26 22:15:53 -040061 <arg name="surface" type="object" interface="wl_surface"/>
Pekka Paalanen6e168112011-11-24 11:34:05 +020062 <arg name="output" type="object" interface="wl_output"/>
63 </request>
64
65 </interface>
66
Jan Arne Petersen42feced2012-06-21 21:52:17 +020067 <interface name="input_panel" version="1">
68 <description summary="interface for implementing keyboards">
69 Only one client can bind this interface at a time.
70 </description>
71
72 <request name="set_surface">
73 <description summary="set the surface type as a keyboard">
74 A keybaord surface is only shown, when a text model is active
75 </description>
76
77 <arg name="surface" type="object" interface="wl_shell_surface"/>
78 <arg name="output" type="object" interface="wl_output"/>
79 </request>
80
81 </interface>
82
83
Kristian Høgsberg75840622011-09-06 13:48:16 -040084</protocol>