there can only be one window in the event
This commit is contained in:
parent
7a604ec1fa
commit
0ff0d9f7a7
1 changed files with 1 additions and 0 deletions
1
slock.c
1
slock.c
|
@ -209,6 +209,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
|
||||||
XResizeWindow(dpy, locks[screen]->win,
|
XResizeWindow(dpy, locks[screen]->win,
|
||||||
rre->width, rre->height);
|
rre->width, rre->height);
|
||||||
XClearWindow(dpy, locks[screen]->win);
|
XClearWindow(dpy, locks[screen]->win);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else for (screen = 0; screen < nscreens; screen++)
|
} else for (screen = 0; screen < nscreens; screen++)
|
||||||
|
|
Loading…
Reference in a new issue