Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
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)
{