Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
XwaylandWindow: fix maximized/fullscreen typo
river/XwaylandWindow.zig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/river/XwaylandWindow.zig b/river/XwaylandWindow.zig
index 904eac7..b371296 100644
--- a/river/XwaylandWindow.zig
+++ b/river/XwaylandWindow.zig
@@ -114,7 +114,7 @@ pub fn configure(xwindow: *XwaylandWindow) bool {
xwindow.setActivated(scheduled.activated);
}
if (scheduled.maximized != sent.maximized) {
- xwindow.xsurface.setFullscreen(scheduled.maximized);
+ xwindow.xsurface.setMaximized(scheduled.maximized, scheduled.maximized);
}
if (scheduled.inform_fullscreen != sent.inform_fullscreen) {
xwindow.xsurface.setFullscreen(scheduled.inform_fullscreen);