made some whitespacing consistent.
This commit is contained in:
parent
015f51ac46
commit
63c9e30a76
1 changed files with 3 additions and 3 deletions
6
dmenu.c
6
dmenu.c
|
@ -295,7 +295,7 @@ grabkeyboard(void) {
|
||||||
|
|
||||||
for(len = 1000; len; len--) {
|
for(len = 1000; len; len--) {
|
||||||
if(XGrabKeyboard(dpy, root, True, GrabModeAsync, GrabModeAsync, CurrentTime)
|
if(XGrabKeyboard(dpy, root, True, GrabModeAsync, GrabModeAsync, CurrentTime)
|
||||||
== GrabSuccess)
|
== GrabSuccess)
|
||||||
break;
|
break;
|
||||||
usleep(1000);
|
usleep(1000);
|
||||||
}
|
}
|
||||||
|
@ -361,8 +361,8 @@ kpress(XKeyEvent * e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(IsFunctionKey(ksym) || IsKeypadKey(ksym)
|
if(IsFunctionKey(ksym) || IsKeypadKey(ksym)
|
||||||
|| IsMiscFunctionKey(ksym) || IsPFKey(ksym)
|
|| IsMiscFunctionKey(ksym) || IsPFKey(ksym)
|
||||||
|| IsPrivateKeypadKey(ksym))
|
|| IsPrivateKeypadKey(ksym))
|
||||||
return;
|
return;
|
||||||
/* first check if a control mask is omitted */
|
/* first check if a control mask is omitted */
|
||||||
if(e->state & ControlMask) {
|
if(e->state & ControlMask) {
|
||||||
|
|
Loading…
Reference in a new issue