aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStivvo <stivvo01@gmail.com>2020-10-18 18:37:55 +0200
committerStivvo <stivvo01@gmail.com>2020-10-18 18:37:55 +0200
commit7017a0c64d3a58635cb5e088fab890c4efa02737 (patch)
tree81b75c6c4ba9f0bb39ee0adac7d6a31ff568bdc2
parent96d9f010ded4292c25743a97e704635e143e13d5 (diff)
fix compile error mixed declaration
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
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);