fix compile error mixed declaration
parent
96d9f010de
commit
7017a0c64d
2
dwl.c
2
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);
|
||||
|
|
Loading…
Reference in New Issue