From 7017a0c64d3a58635cb5e088fab890c4efa02737 Mon Sep 17 00:00:00 2001 From: Stivvo Date: Sun, 18 Oct 2020 18:37:55 +0200 Subject: fix compile error mixed declaration --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 5d8a75c..48a4fbe 100644 --- a/dwl.c +++ b/dwl.c @@ -2149,8 +2149,8 @@ unmapnotify(struct wl_listener *listener, void *data) void updatemons() { - sgeom = *wlr_output_layout_get_box(output_layout, NULL); Monitor *m; + sgeom = *wlr_output_layout_get_box(output_layout, NULL); wl_list_for_each(m, &mons, link) { /* Get the effective monitor geometry to use for surfaces */ m->m = m->w = *wlr_output_layout_get_box(output_layout, m->wlr_output); -- cgit v1.2.3