Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
view: fix typo causing UB on resizing xwayland views
river/View.zig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/river/View.zig b/river/View.zig
index 567a910..acc6f25 100644
--- a/river/View.zig
+++ b/river/View.zig
@@ -341,7 +341,7 @@ pub fn setFullscreen(self: Self, fullscreen: bool) void {
pub fn setResizing(self: Self, resizing: bool) void {
switch (self.impl) {
.xdg_toplevel => |xdg_toplevel| xdg_toplevel.setResizing(resizing),
- .xwayland_view => unreachable,
+ .xwayland_view => {},
}
}