diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-08-09 20:51:33 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-08-27 23:09:08 -0600 |
commit | 5db05e82bd7d1f6bf3cb0ce1ddd07952f06e57f8 (patch) | |
tree | c9d3789e5c08124d77768a7628187b82f28e9ab3 /dwl.c | |
parent | 8ec5e52e061cfefab0bfed354a8b98ea2f4fb775 (diff) | |
download | dwl-5db05e82bd7d1f6bf3cb0ce1ddd07952f06e57f8.tar.gz |
fix style in configurex11()
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3051,11 +3051,13 @@ configurex11(struct wl_listener *listener, void *data) event->x, event->y, event->width, event->height); return; } - if ((c->isfloating && c != grabc) || !c->mon->lt[c->mon->sellt]->arrange) - 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 + if ((c->isfloating && c != grabc) || !c->mon->lt[c->mon->sellt]->arrange) { + 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); + } } void |