fix: pass the full window size to xwayland

This commit is contained in:
Hojjat 2026-06-05 15:28:12 -06:00 committed by Ian Douglas Scott
parent 4eaaf4f55c
commit 51dd3bc66f
2 changed files with 3 additions and 2 deletions

View file

@ -543,7 +543,7 @@ impl ResizeSurfaceGrab {
);
}
WindowSurface::X11(surface) => {
let mut geometry = surface.geometry();
let mut geometry = surface.last_configure();
geometry.loc += (location - new_location).as_logical();
let _ = surface.configure(geometry);
}