aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);