[client] wayland: decorate window unless borderless is requested

Show server-side decoration with the xdg_decoration protocol unless
win:borderless=yes.
This commit is contained in:
Quantum
2021-01-26 23:53:02 -05:00
committed by Geoffrey McRae
parent 5dad69675b
commit b8bf980a29
2 changed files with 22 additions and 0 deletions

View File

@@ -49,6 +49,9 @@ include_directories("${CMAKE_BINARY_DIR}/wayland")
wayland_generate(
"${WAYLAND_PROTOCOLS_BASE}/stable/xdg-shell/xdg-shell.xml"
"${CMAKE_BINARY_DIR}/wayland/wayland-xdg-shell-client-protocol")
wayland_generate(
"${WAYLAND_PROTOCOLS_BASE}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml"
"${CMAKE_BINARY_DIR}/wayland/wayland-xdg-decoration-unstable-v1-client-protocol")
wayland_generate(
"${WAYLAND_PROTOCOLS_BASE}/unstable/relative-pointer/relative-pointer-unstable-v1.xml"
"${CMAKE_BINARY_DIR}/wayland/wayland-relative-pointer-unstable-v1-client-protocol")