summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 91239ca..7bf8e5b 100644
--- a/dwl.c
+++ b/dwl.c
@@ -567,7 +567,7 @@ arrangelayers(Monitor *m)
&usable_area, true);
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);
}