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"/> |
Kristian Høgsberg | 962342c | 2012-06-26 16:29:50 -0400 | [diff] [blame] | 12 | <arg name="surface" type="object" interface="wl_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"/> |
Kristian Høgsberg | af7b1ff | 2012-06-26 21:19:23 -0400 | [diff] [blame] | 17 | <arg name="surface" type="object" interface="wl_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"> |
Kristian Høgsberg | 730c94d | 2012-06-26 21:44:35 -0400 | [diff] [blame] | 21 | <arg name="surface" type="object" interface="wl_surface"/> |
Pekka Paalanen | 9ef3e01 | 2011-11-15 13:34:48 +0200 | [diff] [blame] | 22 | </request> |
| 23 | |
| 24 | <request name="unlock"/> |
| 25 | |
Kristian Høgsberg | d56bd90 | 2012-06-05 09:58:51 -0400 | [diff] [blame] | 26 | <request name="set_busy_surface"> |
| 27 | <arg name="surface" type="object" interface="wl_surface"/> |
| 28 | </request> |
| 29 | |
Kristian Høgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 30 | <!-- 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øgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 33 | <arg name="edges" type="uint"/> |
Kristian Høgsberg | 962342c | 2012-06-26 16:29:50 -0400 | [diff] [blame] | 34 | <arg name="surface" type="object" interface="wl_surface"/> |
Kristian Høgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 35 | <arg name="width" type="int"/> |
| 36 | <arg name="height" type="int"/> |
| 37 | </event> |
| 38 | |
Tiago Vignatti | 7bef066 | 2012-04-16 17:31:40 +0300 | [diff] [blame] | 39 | <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øgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 48 | </interface> |
| 49 | |
Pekka Paalanen | 6e16811 | 2011-11-24 11:34:05 +0200 | [diff] [blame] | 50 | <interface name="screensaver" version="1"> |
Tiago Vignatti | 7bef066 | 2012-04-16 17:31:40 +0300 | [diff] [blame] | 51 | <description summary="interface for implementing screensavers"> |
| 52 | Only one client can bind this interface at a time. |
| 53 | </description> |
Pekka Paalanen | 6e16811 | 2011-11-24 11:34:05 +0200 | [diff] [blame] | 54 | |
Pekka Paalanen | 6e16811 | 2011-11-24 11:34:05 +0200 | [diff] [blame] | 55 | <request name="set_surface"> |
Tiago Vignatti | 7bef066 | 2012-04-16 17:31:40 +0300 | [diff] [blame] | 56 | <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øgsberg | 1a73a63 | 2012-06-26 22:15:53 -0400 | [diff] [blame^] | 61 | <arg name="surface" type="object" interface="wl_surface"/> |
Pekka Paalanen | 6e16811 | 2011-11-24 11:34:05 +0200 | [diff] [blame] | 62 | <arg name="output" type="object" interface="wl_output"/> |
| 63 | </request> |
| 64 | |
| 65 | </interface> |
| 66 | |
Jan Arne Petersen | 42feced | 2012-06-21 21:52:17 +0200 | [diff] [blame] | 67 | <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øgsberg | 7584062 | 2011-09-06 13:48:16 -0400 | [diff] [blame] | 84 | </protocol> |