diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-03 08:35:22 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-03 08:35:22 -0500 |
commit | 71afa388906bf29dcd937aa92b65a97c8b320f60 (patch) | |
tree | 7e7efa0fccde6eb99b1b1bd9d20b1d0f1b2b5f3b /protocols/swaylock.xml | |
parent | 2b38f298ff23b73ea26fc900c4422c2c4dd85bba (diff) |
Add swaylock protocol, add resource destructors
This prevents sway crashing if swaybg or swaybar dies.
Diffstat (limited to 'protocols/swaylock.xml')
-rw-r--r-- | protocols/swaylock.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/protocols/swaylock.xml b/protocols/swaylock.xml new file mode 100644 index 00000000..c7a102dd --- /dev/null +++ b/protocols/swaylock.xml @@ -0,0 +1,18 @@ +<protocol name="lock"> + + <interface name="lock" version="1"> + <description summary="create lock screen UIs"> + The Weston desktop-shell protocol's locking functionality depends more + on the behavior of the compositor than of a screen locking client, so + another protocol is necessary. + </description> + + <request name="set_lock_surface"> + <arg name="output" type="object" interface="wl_output"/> + <arg name="surface" type="object" interface="wl_surface"/> + </request> + + <request name="unlock"/> + + </interface> +</protocol> |