mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2026-04-10 06:11:54 +10:00
hyprland/ipc: implement toplevel address association
This commit is contained in:
parent
ee570ec623
commit
dcd9e3aed8
6 changed files with 384 additions and 0 deletions
|
|
@ -17,6 +17,21 @@ install_qml_module(quickshell-hyprland-ipc)
|
|||
|
||||
target_link_libraries(quickshell-hyprland-ipc PRIVATE Qt::Quick)
|
||||
|
||||
if (WAYLAND_TOPLEVEL_MANAGEMENT)
|
||||
target_sources(quickshell-hyprland-ipc PRIVATE
|
||||
toplevel_mapping.cpp
|
||||
hyprland_toplevel.cpp
|
||||
)
|
||||
|
||||
wl_proto(wlp-hyprland-toplevel-mapping hyprland-toplevel-mapping-v1 "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
target_link_libraries(quickshell-hyprland-ipc PRIVATE
|
||||
Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
wlp-hyprland-toplevel-mapping
|
||||
wlp-foreign-toplevel
|
||||
)
|
||||
endif()
|
||||
|
||||
qs_module_pch(quickshell-hyprland-ipc SET large)
|
||||
|
||||
target_link_libraries(quickshell PRIVATE quickshell-hyprland-ipcplugin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue