Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
protocol: bump river-window-management-v1 minor version
build.zig | 2 +-
protocol/river-window-management-v1.xml | 16 ++++++++--------
river/WindowManager.zig | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/build.zig b/build.zig
index 9398928..48ea3d5 100644
--- a/build.zig
+++ b/build.zig
@@ -112,7 +112,7 @@ pub fn build(b: *Build) !void {
scanner.generate("ext_session_lock_manager_v1", 1);
scanner.generate("wp_cursor_shape_manager_v1", 1);
- scanner.generate("river_window_manager_v1", 3);
+ scanner.generate("river_window_manager_v1", 4);
scanner.generate("river_xkb_bindings_v1", 2);
scanner.generate("river_layer_shell_v1", 1);
scanner.generate("river_input_manager_v1", 1);
diff --git a/protocol/river-window-management-v1.xml b/protocol/river-window-management-v1.xml
index 5fb3282..da1fd14 100644
--- a/protocol/river-window-management-v1.xml
+++ b/protocol/river-window-management-v1.xml
@@ -34,7 +34,7 @@
document are to be interpreted as described in IETF RFC 2119.
</description>
- <interface name="river_window_manager_v1" version="3">
+ <interface name="river_window_manager_v1" version="4">
<description summary="window manager global interface">
This global interface should only be advertised to the window manager
process. Only one window management client may be active at a time. The
@@ -307,7 +307,7 @@
</request>
</interface>
- <interface name="river_window_v1" version="3">
+ <interface name="river_window_v1" version="4">
<description summary="a logical window">
This represents a logical window. For example, a window may correspond to
an xdg_toplevel or Xwayland window.
@@ -1047,7 +1047,7 @@
</request>
</interface>
- <interface name="river_decoration_v1" version="3">
+ <interface name="river_decoration_v1" version="4">
<description summary="a window decoration">
The rendering order of windows with decorations is follows:
@@ -1103,7 +1103,7 @@
</request>
</interface>
- <interface name="river_shell_surface_v1" version="3">
+ <interface name="river_shell_surface_v1" version="4">
<description summary="a surface for window manager UI">
The window manager might use a shell surface to display a status bar,
background image, desktop notifications, launcher, desktop menu, or
@@ -1150,7 +1150,7 @@
</request>
</interface>
- <interface name="river_node_v1" version="3">
+ <interface name="river_node_v1" version="4">
<description summary="a node in the render list">
The render list is a list of nodes that determines the rendering order of
the compositor. Nodes may correspond to windows or shell surfaces. The
@@ -1237,7 +1237,7 @@
</request>
</interface>
- <interface name="river_output_v1" version="3">
+ <interface name="river_output_v1" version="4">
<description summary="a logical output">
An area in the compositor's logical coordinate space that should be
treated as a single output for window management purposes. This area may
@@ -1339,7 +1339,7 @@
</event>
</interface>
- <interface name="river_seat_v1" version="3">
+ <interface name="river_seat_v1" version="4">
<description summary="a window management seat">
This object represents a single user's collection of input devices. It
allows the window manager to route keyboard input to windows, get
@@ -1648,7 +1648,7 @@
</request>
</interface>
- <interface name="river_pointer_binding_v1" version="3">
+ <interface name="river_pointer_binding_v1" version="4">
<description summary="configure a pointer binding, receive trigger events">
This object allows the window manager to configure a pointer binding and
receive events when the binding is triggered.
diff --git a/river/WindowManager.zig b/river/WindowManager.zig
index 7d1a16a..4c3a340 100644
--- a/river/WindowManager.zig
+++ b/river/WindowManager.zig
@@ -80,7 +80,7 @@ pub fn init(wm: *WindowManager) !void {
errdefer timeout.remove();
wm.* = .{
- .global = try wl.Global.create(server.wl_server, river.WindowManagerV1, 3, *WindowManager, wm, bind),
+ .global = try wl.Global.create(server.wl_server, river.WindowManagerV1, 4, *WindowManager, wm, bind),
.sent = .{
.outputs = undefined,
.seats = undefined,