[hackers] [slock] select for SubstructureRedirectMask as well || anselm

From: <hg_AT_suckless.org>
Date: Thu, 9 Feb 2012 20:56:31 +0100 (CET)

changeset: 48:886a3ceb28c7
tag: tip
user: anselm_AT_garbe.us
date: Thu Feb 09 20:56:34 2012 +0100
files: slock.c
description:
select for SubstructureRedirectMask as well


diff -r dc1bedfa1411 -r 886a3ceb28c7 slock.c
--- a/slock.c Thu Feb 09 20:18:49 2012 +0100
+++ b/slock.c Thu Feb 09 20:56:34 2012 +0100
_AT_@ -201,6 +201,8 @@
                 unlockscreen(dpy, lock);
                 lock = NULL;
         }
+ else
+ XSelectInput(dpy, lock->root, SubstructureNotifyMask);
 
         return lock;
 }
Received on Thu Feb 09 2012 - 20:56:31 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 09 2012 - 21:00:12 CET