forked from quickshell/quickshell
wayland/layershell: refactor layer shell surface integration
In addition to the much needed cleanup: - The bridge/extension type is now directly tied to the QWindow instead of the WlrLayershell object, and is much smaller. - Layer requests are now comitted via polish instead of for each change individually.
This commit is contained in:
parent
6a8284dae3
commit
e0cff677a5
13 changed files with 366 additions and 495 deletions
|
@ -85,7 +85,6 @@ add_library(quickshell-wayland-init OBJECT init.cpp)
|
|||
set(WAYLAND_MODULES)
|
||||
|
||||
if (WAYLAND_WLR_LAYERSHELL)
|
||||
target_sources(quickshell-wayland PRIVATE wlr_layershell.cpp)
|
||||
add_subdirectory(wlr_layershell)
|
||||
target_compile_definitions(quickshell-wayland PRIVATE QS_WAYLAND_WLR_LAYERSHELL)
|
||||
target_compile_definitions(quickshell-wayland-init PRIVATE QS_WAYLAND_WLR_LAYERSHELL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue