there can only be one window in the event - slock - simple X display locker utility
(HTM) git clone git://git.suckless.org/slock
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0ff0d9f7a7156a0e0b41d5b208ae5625e3a15dab
(DIR) parent 7a604ec1fae1eda36f210a28a2cf466583a9cb87
(HTM) Author: Markus Teich <teichm@fs.tum.de>
Date: Wed, 23 Nov 2016 00:28:25 +0100
there can only be one window in the event
Diffstat:
M slock.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/slock.c b/slock.c
@@ -209,6 +209,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
XResizeWindow(dpy, locks[screen]->win,
rre->width, rre->height);
XClearWindow(dpy, locks[screen]->win);
+ break;
}
}
} else for (screen = 0; screen < nscreens; screen++)