git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commite1a950e38caa66fd4ea8dd8181ec8794fe568d44
parentbe4c8ac83f
authorIsaac Freund <[email protected]>
date2026-02-19 17:35
XwaylandWindow: send correct position during fullscreen

The position requested by the window manager does not affect the
actual position while a window is fullscreen.

Reported-by: Ben Buhse <[email protected]>

 river/XwaylandWindow.zig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/river/XwaylandWindow.zig b/river/XwaylandWindow.zig
index adea211..15cc517 100644
--- a/river/XwaylandWindow.zig
+++ b/river/XwaylandWindow.zig
@@ -104,8 +104,8 @@ pub fn configure(xwindow: *XwaylandWindow) bool {
     // until after a rendering sequence is completed. Therefore, configure()
     // is called both on manageFinish() and renderFinish() for Xwayland windows.
     // Frame perfection is not achievable for Xwayland windows in any case.
-    if (window.rendering_requested.x != xwindow.xsurface.x or
-        window.rendering_requested.y != xwindow.xsurface.y or
+    if (window.box.x != xwindow.xsurface.x or
+        window.box.y != xwindow.xsurface.y or
         width != xwindow.xsurface.width or
         height != xwindow.xsurface.height)
     {