aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Teich <teichm@fs.tum.de>2016-11-23 00:28:25 +0100
committerMarkus Teich <teichm@fs.tum.de>2016-11-23 00:28:25 +0100
commit0ff0d9f7a7156a0e0b41d5b208ae5625e3a15dab (patch)
treee26137851cab0f6752d7357be76013f3701c9937
parent7a604ec1fae1eda36f210a28a2cf466583a9cb87 (diff)
there can only be one window in the event
-rw-r--r--slock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/slock.c b/slock.c
index 61fe9ee..700acfb 100644
--- a/slock.c
+++ b/slock.c
@@ -209,6 +209,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
209 XResizeWindow(dpy, locks[screen]->win, 209 XResizeWindow(dpy, locks[screen]->win,
210 rre->width, rre->height); 210 rre->width, rre->height);
211 XClearWindow(dpy, locks[screen]->win); 211 XClearWindow(dpy, locks[screen]->win);
212 break;
212 } 213 }
213 } 214 }
214 } else for (screen = 0; screen < nscreens; screen++) 215 } else for (screen = 0; screen < nscreens; screen++)