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

commit374a958ee2ef2ec9702f408b373d0bc163f76691
parente1a950e38c
authorIsaac Freund <[email protected]>
date2026-02-19 18:59
XwaylandWindow: send correct position take 2

Fixes: 35e800a31305

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

diff --git a/river/XwaylandWindow.zig b/river/XwaylandWindow.zig
index 15cc517..1e17698 100644
--- a/river/XwaylandWindow.zig
+++ b/river/XwaylandWindow.zig
@@ -110,8 +110,8 @@ pub fn configure(xwindow: *XwaylandWindow) bool {
         height != xwindow.xsurface.height)
     {
         xwindow.xsurface.configure(
-            math.lossyCast(i16, window.rendering_requested.x),
-            math.lossyCast(i16, window.rendering_requested.y),
+            math.lossyCast(i16, window.box.x),
+            math.lossyCast(i16, window.box.y),
             math.lossyCast(u16, width),
             math.lossyCast(u16, height),
         );