[hackers] [slock] there can only be one window in the event || Markus Teich

From: <git_AT_suckless.org>
Date: Wed, 23 Nov 2016 00:30:02 +0100 (CET)

commit 0ff0d9f7a7156a0e0b41d5b208ae5625e3a15dab
Author: Markus Teich <teichm_AT_fs.tum.de>
AuthorDate: Wed Nov 23 00:28:25 2016 +0100
Commit: Markus Teich <teichm_AT_fs.tum.de>
CommitDate: Wed Nov 23 00:28:25 2016 +0100

    there can only be one window in the event

diff --git a/slock.c b/slock.c
index 61fe9ee..700acfb 100644
--- a/slock.c
+++ b/slock.c
_AT_@ -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++)
Received on Wed Nov 23 2016 - 00:30:02 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 23 2016 - 00:36:19 CET