diff options
author | Guido Cella <guidocella91@gmail.com> | 2020-09-10 06:01:18 +0200 |
---|---|---|
committer | Guido Cella <guidocella91@gmail.com> | 2020-09-10 06:01:18 +0200 |
commit | 8f0ce672d384759dd4a3cbcf2b0555b4a87edc7e (patch) | |
tree | 30ddf4270ee014a274943e55af5e14b16741ac1d | |
parent | 143dce094c14e9d3904ef7530f113c9a7e4ebe47 (diff) |
simplify
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |