aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index f1ab64b..82a01d8 100644
--- a/dwl.c
+++ b/dwl.c
@@ -3091,7 +3091,7 @@ configurex11(struct wl_listener *listener, void *data)
}
if ((c->isfloating && c != grabc)
|| client_is_unmanaged(c) || !c->mon->lt[c->mon->sellt]->arrange)
- resize(c, (struct wlr_box){.x = event->x, .y = event->y,
+ resize(c, (struct wlr_box){.x = event->x - c->bw, .y = event->y - c->bw,
.width = event->width + c->bw * 2, .height = event->height + c->bw * 2}, 0);
else
arrange(c->mon);