fix resizing and moving window when cursor is not inside of it

This commit is contained in:
2026-04-03 12:43:17 +07:00
parent 698e89685c
commit 7e3ca8238c
2 changed files with 15 additions and 14 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ static void apply_resize(struct absinthe_toplevel *toplevel, struct wlr_box *new
if (max_height == 0)
max_height = 10000;
if (new_geometry->width - 2 * bw >= min_width && new_geometry->width - 2 * bw <= max_width) {
toplevel->geometry.x = new_geometry->x;
toplevel->geometry.width = new_geometry->width;