aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-09-10 06:01:18 +0200
committerGuido Cella <guidocella91@gmail.com>2020-09-10 06:01:18 +0200
commit8f0ce672d384759dd4a3cbcf2b0555b4a87edc7e (patch)
tree30ddf4270ee014a274943e55af5e14b16741ac1d /dwl.c
parent143dce094c14e9d3904ef7530f113c9a7e4ebe47 (diff)
simplify
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 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);
}