mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 03:06:30 +00:00
fix style in configurex11()
This commit is contained in:
parent
8ec5e52e06
commit
5db05e82bd
1 changed files with 6 additions and 4 deletions
10
dwl.c
10
dwl.c
|
@ -3051,11 +3051,13 @@ configurex11(struct wl_listener *listener, void *data)
|
||||||
event->x, event->y, event->width, event->height);
|
event->x, event->y, event->width, event->height);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((c->isfloating && c != grabc) || !c->mon->lt[c->mon->sellt]->arrange)
|
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,
|
resize(c, (struct wlr_box){.x = event->x - c->bw,
|
||||||
.width = event->width + c->bw * 2, .height = event->height + c->bw * 2}, 0);
|
.y = event->y - c->bw, .width = event->width + c->bw * 2,
|
||||||
else
|
.height = event->height + c->bw * 2}, 0);
|
||||||
|
} else {
|
||||||
arrange(c->mon);
|
arrange(c->mon);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue