This commit is contained in:
Guido Cella 2020-09-10 06:01:18 +02:00
parent 143dce094c
commit 8f0ce672d3

2
dwl.c
View File

@ -567,7 +567,7 @@ arrangelayers(Monitor *m)
&usable_area, true); &usable_area, true);
if (memcmp(&usable_area, &m->w, sizeof(struct wlr_box))) { if (memcmp(&usable_area, &m->w, sizeof(struct wlr_box))) {
memcpy(&m->w, &usable_area, sizeof(struct wlr_box)); m->w = usable_area;
arrange(m); arrange(m);
} }