commit f7154d539d09b4aa5b92371c296d9aa7a045bac0
parent 3a95d4ed03bb506658382f1c5dc4e3d002a90464
Author: korei999 <ju7t1xe@gmail.com>
Date: Sun, 24 Mar 2024 12:54:32 +0200
properly resize on configurex11
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwl.c b/dwl.c
@@ -2962,7 +2962,7 @@ configurex11(struct wl_listener *listener, void *data)
}
if (c->isfloating || client_is_unmanaged(c))
resize(c, (struct wlr_box){.x = event->x, .y = event->y,
- .width = event->width, .height = event->height}, 0);
+ .width = event->width + c->bw * 2, .height = event->height + c->bw * 2}, 0);
else
arrange(c->mon);
}