fix compile error mixed declaration

main
Stivvo 2020-10-18 18:37:55 +02:00
parent 96d9f010de
commit 7017a0c64d
1 changed files with 1 additions and 1 deletions

2
dwl.c
View File

@ -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);