Introduction
Introduction Statistics Contact Development Disclaimer Help
tapplied Gottox' grabkey patch - dwm - [fork] customized build of dwm, the dyna…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 753e0e048e13fe7cbace7c07917d26081a483eba
parent d15d4ba45abe06f5ac069e384bd7b46b55c0d286
Author: Anselm R Garbe <[email protected]>
Date: Tue, 2 Sep 2008 18:47:01 +0100
applied Gottox' grabkey patch
Diffstat:
M dwm.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/dwm.c b/dwm.c
t@@ -763,10 +763,10 @@ grabkeys(void) {
XUngrabKey(dpy, AnyKey, AnyModifier, root);
for(i = 0; i < LENGTH(keys); i++) {
- code = XKeysymToKeycode(dpy, keys[i].keysym);
- for(j = 0; j < LENGTH(modifiers); j++)
- XGrabKey(dpy, code, keys[i].mod | modifiers[j]…
- GrabModeAsync, GrabModeAsync);
+ if((code = XKeysymToKeycode(dpy, keys[i].keysym)))
+ for(j = 0; j < LENGTH(modifiers); j++)
+ XGrabKey(dpy, code, keys[i].mod | modi…
+ True, GrabModeAsync, GrabMode…
}
}
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.