summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkorei999 <ju7t1xe@gmail.com>2024-03-24 12:54:32 +0200
committerLeonardo Hernández Hernández <leohdz172@proton.me>2024-03-31 21:39:21 -0600
commitf7154d539d09b4aa5b92371c296d9aa7a045bac0 (patch)
tree0355e6ce7ee60a04b797d50e4a088e0c8d69216e
parent3a95d4ed03bb506658382f1c5dc4e3d002a90464 (diff)
properly resize on configurex11
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 5867b0c..39ce68c 100644
--- 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);
}