forked from RepoMirrors/dwl
simplify
This commit is contained in:
parent
143dce094c
commit
8f0ce672d3
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 New Issue
Block a user