aboutsummaryrefslogtreecommitdiffhomepage
path: root/protocols
diff options
context:
space:
mode:
authorVaxry <[email protected]>2022-12-05 17:05:15 +0000
committerGitHub <[email protected]>2022-12-05 17:05:15 +0000
commit66fb0830032572c9729278b7e15525cb41bbf59e (patch)
tree8560f87b39a193c01a3037ca00ef8f0af78e5a89 /protocols
parent20b91f58f8f8cc7cda7cca7e7683e4c5178f0479 (diff)
downloadHyprland-66fb0830032572c9729278b7e15525cb41bbf59e.tar.gz
Hyprland-66fb0830032572c9729278b7e15525cb41bbf59e.zip
Implement window sharing with the hl toplevel export proto (#1179)
* implement window sharing Co-authored-by: Mihai Fufezan <[email protected]>
Diffstat (limited to 'protocols')
-rw-r--r--protocols/meson.build10
1 files changed, 9 insertions, 1 deletions
diff --git a/protocols/meson.build b/protocols/meson.build
index 127406d9..d75acb3a 100644
--- a/protocols/meson.build
+++ b/protocols/meson.build
@@ -3,7 +3,14 @@ wayland_protos = dependency('wayland-protocols',
fallback: 'wayland-protocols',
default_options: ['tests=false'],
)
+
+hyprland_protos = dependency('hyprland-protocols',
+ version: '>=0.1',
+ fallback: 'hyprland-protocols',
+)
+
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
+hl_protocol_dir = hyprland_protos.get_variable('pkgdatadir')
wayland_scanner_dep = dependency('wayland-scanner', native: true)
wayland_scanner = find_program(
@@ -19,7 +26,8 @@ protocols = [
['ext-workspace-unstable-v1.xml'],
['pointer-constraints-unstable-v1.xml'],
['tablet-unstable-v2.xml'],
- ['idle.xml']
+ ['idle.xml'],
+ [hl_protocol_dir, 'protocols/hyprland-toplevel-export-v1.xml']
]
wl_protos_src = []
wl_protos_headers = []