From 8f0ce672d384759dd4a3cbcf2b0555b4a87edc7e Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Thu, 10 Sep 2020 06:01:18 +0200 Subject: simplify --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dwl.c') 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); } -- cgit v1.2.3