summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 8500f2b..b589378 100644
--- a/dwl.c
+++ b/dwl.c
@@ -504,7 +504,7 @@ arrangelayers(Monitor *m)
for (i = 3; i >= 0; i--)
arrangelayer(m, &m->layers[i], &usable_area, 1);
- if (memcmp(&usable_area, &m->w, sizeof(struct wlr_box))) {
+ if (!wlr_box_equal(&usable_area, &m->w)) {
m->w = usable_area;
arrange(m);
}