diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/CMakeLists.txt | 11 | ||||
-rw-r--r-- | protocols/libsway-protocols.a | bin | 0 -> 31798 bytes | |||
-rw-r--r-- | protocols/swaylock.xml | 18 |
3 files changed, 29 insertions, 0 deletions
diff --git a/protocols/CMakeLists.txt b/protocols/CMakeLists.txt index 07becc36..d7516d0c 100644 --- a/protocols/CMakeLists.txt +++ b/protocols/CMakeLists.txt | |||
@@ -13,10 +13,21 @@ WAYLAND_ADD_PROTOCOL_SERVER(proto-server-desktop-shell | |||
13 | desktop-shell | 13 | desktop-shell |
14 | ) | 14 | ) |
15 | 15 | ||
16 | WAYLAND_ADD_PROTOCOL_CLIENT(proto-client-swaylock | ||
17 | swaylock.xml | ||
18 | swaylock | ||
19 | ) | ||
20 | WAYLAND_ADD_PROTOCOL_SERVER(proto-server-swaylock | ||
21 | swaylock.xml | ||
22 | swaylock | ||
23 | ) | ||
24 | |||
16 | add_library(sway-protocols | 25 | add_library(sway-protocols |
17 | ${proto-client-xdg-shell} | 26 | ${proto-client-xdg-shell} |
18 | ${proto-client-desktop-shell} | 27 | ${proto-client-desktop-shell} |
19 | ${proto-server-desktop-shell} | 28 | ${proto-server-desktop-shell} |
29 | ${proto-client-swaylock} | ||
30 | ${proto-server-swaylock} | ||
20 | ) | 31 | ) |
21 | 32 | ||
22 | set(PROTOCOLS_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/protocols PARENT_SCOPE) | 33 | set(PROTOCOLS_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/protocols PARENT_SCOPE) |
diff --git a/protocols/libsway-protocols.a b/protocols/libsway-protocols.a new file mode 100644 index 00000000..284f46c2 --- /dev/null +++ b/protocols/libsway-protocols.a | |||
Binary files differ | |||
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 @@ | |||
1 | <protocol name="lock"> | ||
2 | |||
3 | <interface name="lock" version="1"> | ||
4 | <description summary="create lock screen UIs"> | ||
5 | The Weston desktop-shell protocol's locking functionality depends more | ||
6 | on the behavior of the compositor than of a screen locking client, so | ||
7 | another protocol is necessary. | ||
8 | </description> | ||
9 | |||
10 | <request name="set_lock_surface"> | ||
11 | <arg name="output" type="object" interface="wl_output"/> | ||
12 | <arg name="surface" type="object" interface="wl_surface"/> | ||
13 | </request> | ||
14 | |||
15 | <request name="unlock"/> | ||
16 | |||
17 | </interface> | ||
18 | </protocol> | ||