forked from mirror/dwl
simplify
This commit is contained in:
parent
143dce094c
commit
8f0ce672d3
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue