From 71afa388906bf29dcd937aa92b65a97c8b320f60 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 3 Dec 2015 08:35:22 -0500 Subject: Add swaylock protocol, add resource destructors This prevents sway crashing if swaybg or swaybar dies. --- protocols/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'protocols/CMakeLists.txt') 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 desktop-shell ) +WAYLAND_ADD_PROTOCOL_CLIENT(proto-client-swaylock + swaylock.xml + swaylock +) +WAYLAND_ADD_PROTOCOL_SERVER(proto-server-swaylock + swaylock.xml + swaylock +) + add_library(sway-protocols ${proto-client-xdg-shell} ${proto-client-desktop-shell} ${proto-server-desktop-shell} + ${proto-client-swaylock} + ${proto-server-swaylock} ) set(PROTOCOLS_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/protocols PARENT_SCOPE) -- cgit v1.2.3-70-g09d2