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