aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dmenu.c b/dmenu.c
index b07671c..bc69bcf 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -295,7 +295,7 @@ grabkeyboard(void) {
295 295
296 for(len = 1000; len; len--) { 296 for(len = 1000; len; len--) {
297 if(XGrabKeyboard(dpy, root, True, GrabModeAsync, GrabModeAsync, CurrentTime) 297 if(XGrabKeyboard(dpy, root, True, GrabModeAsync, GrabModeAsync, CurrentTime)
298 == GrabSuccess) 298 == GrabSuccess)
299 break; 299 break;
300 usleep(1000); 300 usleep(1000);
301 } 301 }
@@ -361,8 +361,8 @@ kpress(XKeyEvent * e) {
361 } 361 }
362 } 362 }
363 if(IsFunctionKey(ksym) || IsKeypadKey(ksym) 363 if(IsFunctionKey(ksym) || IsKeypadKey(ksym)
364 || IsMiscFunctionKey(ksym) || IsPFKey(ksym) 364 || IsMiscFunctionKey(ksym) || IsPFKey(ksym)
365 || IsPrivateKeypadKey(ksym)) 365 || IsPrivateKeypadKey(ksym))
366 return; 366 return;
367 /* first check if a control mask is omitted */ 367 /* first check if a control mask is omitted */
368 if(e->state & ControlMask) { 368 if(e->state & ControlMask) {