mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
Add swaylock protocol, add resource destructors
This prevents sway crashing if swaybg or swaybar dies.
This commit is contained in:
parent
2b38f298ff
commit
71afa38890
7 changed files with 68 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue