properly resize on configurex11

This commit is contained in:
korei999
2024-03-31 21:39:21 -06:00
parent 3a95d4ed03
commit f7154d539d
+1 -1
View File
@@ -2962,7 +2962,7 @@ configurex11(struct wl_listener *listener, void *data)
} }
if (c->isfloating || client_is_unmanaged(c)) if (c->isfloating || client_is_unmanaged(c))
resize(c, (struct wlr_box){.x = event->x, .y = event->y, 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 else
arrange(c->mon); arrange(c->mon);
} }