diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-08-08 14:42:16 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-08-08 14:46:25 -0600 |
commit | 1b805ddd38aeb03dbf64886fb9a153f76f4eb8e0 (patch) | |
tree | c13a50de318504edbc626c1e644bed3f31d28428 | |
parent | 94f4ead7dad89433e6087dc19950738c64bbed05 (diff) | |
download | dwl-1b805ddd38aeb03dbf64886fb9a153f76f4eb8e0.tar.gz |
account border width in configurex11()
Fixes: 13925eb1da8af2c1d23ee9d01efd03c3626081b2
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |