diff options
| author | Isaac Freund <mail@isaacfreund.com> | 2023-03-10 14:55:56 +0100 |
|---|---|---|
| committer | Isaac Freund <mail@isaacfreund.com> | 2023-03-10 18:49:30 +0100 |
| commit | 05eac54b076f2069469aa48377cae54f0cd311aa (patch) | |
| tree | 61ac3e33c6690bbaea2a0c52d2fa6439182fc441 /build.zig | |
| parent | fcb184f0bd8153138fd1671b73e72492dcbd7eb8 (diff) | |
| download | river-05eac54b076f2069469aa48377cae54f0cd311aa.tar.gz river-05eac54b076f2069469aa48377cae54f0cd311aa.tar.xz | |
xdg-decoration: clean up implementation
We now send some protocol errors that wlroots 0.16 is missing [1].
This also allows us to access the xdg decoration from a view, which will
be necessary for some future changes.
[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4051
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -91,6 +91,7 @@ pub fn build(b: *zbs.Builder) !void { scanner.addSystemProtocol("staging/ext-session-lock/ext-session-lock-v1.xml"); scanner.addSystemProtocol("unstable/pointer-gestures/pointer-gestures-unstable-v1.xml"); scanner.addSystemProtocol("unstable/pointer-constraints/pointer-constraints-unstable-v1.xml"); + scanner.addSystemProtocol("unstable/xdg-decoration/xdg-decoration-unstable-v1.xml"); scanner.addProtocolPath("protocol/river-control-unstable-v1.xml"); scanner.addProtocolPath("protocol/river-status-unstable-v1.xml"); scanner.addProtocolPath("protocol/river-layout-v3.xml"); @@ -109,6 +110,7 @@ pub fn build(b: *zbs.Builder) !void { scanner.generate("xdg_wm_base", 2); scanner.generate("zwp_pointer_gestures_v1", 3); scanner.generate("zwp_pointer_constraints_v1", 1); + scanner.generate("zxdg_decoration_manager_v1", 1); scanner.generate("ext_session_lock_manager_v1", 1); scanner.generate("zriver_control_v1", 1); |
