forked from mirror/dwl
properly resize on configurex11
This commit is contained in:
parent
3a95d4ed03
commit
f7154d539d
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue