diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-25 12:35:38 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-25 19:08:56 -0600 |
commit | 39f4ee564b153966b0219004293d16900d2356d1 (patch) | |
tree | 0467219bf75c4f652fd85f66dcc49902ddce3a99 | |
parent | a353eee2cac0378a4201e408a3417aa107a7f647 (diff) |
use wlr_box_equal() instead of memcmp
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |