Kristian Høgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 1 | <protocol name="desktop"> |
| 2 | |
| 3 | <interface name="desktop_shell" version="1"> |
Tiago Vignatti | 7bef066 | 2012-04-16 17:31:40 +0300 | [diff] [blame] | 4 | <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øgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 10 | <request name="set_background"> |
Benjamin Franzke | d0f79ab | 2011-11-22 12:43:52 +0100 | [diff] [blame] | 11 | <arg name="output" type="object" interface="wl_output"/> |
Pekka Paalanen | 068ae94 | 2011-11-28 14:11:15 +0200 | [diff] [blame] | 12 | <arg name="surface" type="object" interface="wl_shell_surface"/> |
Kristian Høgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 13 | </request> |
| 14 | |
| 15 | <request name="set_panel"> |
Benjamin Franzke | d0f79ab | 2011-11-22 12:43:52 +0100 | [diff] [blame] | 16 | <arg name="output" type="object" interface="wl_output"/> |
Pekka Paalanen | 068ae94 | 2011-11-28 14:11:15 +0200 | [diff] [blame] | 17 | <arg name="surface" type="object" interface="wl_shell_surface"/> |
Kristian Høgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 18 | </request> |
| 19 | |
Pekka Paalanen | 9ef3e01 | 2011-11-15 13:34:48 +0200 | [diff] [blame] | 20 | <request name="set_lock_surface"> |
Pekka Paalanen | 068ae94 | 2011-11-28 14:11:15 +0200 | [diff] [blame] | 21 | <arg name="surface" type="object" interface="wl_shell_surface"/> |
Pekka Paalanen | 9ef3e01 | 2011-11-15 13:34:48 +0200 | [diff] [blame] | 22 | </request> |
| 23 | |
| 24 | <request name="unlock"/> |
| 25 | |
Kristian Høgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 26 | <!-- 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øgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 29 | <arg name="edges" type="uint"/> |
Pekka Paalanen | 068ae94 | 2011-11-28 14:11:15 +0200 | [diff] [blame] | 30 | <arg name="surface" type="object" interface="wl_shell_surface"/> |
Kristian Høgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 31 | <arg name="width" type="int"/> |
| 32 | <arg name="height" type="int"/> |
| 33 | </event> |
| 34 | |
Tiago Vignatti | 7bef066 | 2012-04-16 17:31:40 +0300 | [diff] [blame] | 35 | <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øgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 44 | </interface> |
| 45 | |
Pekka Paalanen | 6e16811 | 2011-11-24 11:34:05 +0200 | [diff] [blame] | 46 | <interface name="screensaver" version="1"> |
Tiago Vignatti | 7bef066 | 2012-04-16 17:31:40 +0300 | [diff] [blame] | 47 | <description summary="interface for implementing screensavers"> |
| 48 | Only one client can bind this interface at a time. |
| 49 | </description> |
Pekka Paalanen | 6e16811 | 2011-11-24 11:34:05 +0200 | [diff] [blame] | 50 | |
Pekka Paalanen | 6e16811 | 2011-11-24 11:34:05 +0200 | [diff] [blame] | 51 | <request name="set_surface"> |
Tiago Vignatti | 7bef066 | 2012-04-16 17:31:40 +0300 | [diff] [blame] | 52 | <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 Paalanen | 6e16811 | 2011-11-24 11:34:05 +0200 | [diff] [blame] | 57 | <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øgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 63 | </protocol> |