commit 8f0ce672d384759dd4a3cbcf2b0555b4a87edc7e parent 143dce094c14e9d3904ef7530f113c9a7e4ebe47 Author: Guido Cella <guidocella91@gmail.com> Date: Thu, 10 Sep 2020 06:01:18 +0200 simplify Diffstat:
| M | dwl.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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); }