aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock.c b/slock.c
index 62fcac9..aafc7c0 100644
--- a/slock.c
+++ b/slock.c
@@ -102,7 +102,7 @@ main(int argc, char **argv) {
102 while(running && !XNextEvent(dpy, &ev)) 102 while(running && !XNextEvent(dpy, &ev))
103 if(ev.type == KeyPress) { 103 if(ev.type == KeyPress) {
104 buf[0] = 0; 104 buf[0] = 0;
105 num = XLookupString(&ev.xkey, buf, sizeof(buf), &ksym, 0); 105 num = XLookupString(&ev.xkey, buf, sizeof buf, &ksym, 0);
106 if(IsFunctionKey(ksym) || IsKeypadKey(ksym) 106 if(IsFunctionKey(ksym) || IsKeypadKey(ksym)
107 || IsMiscFunctionKey(ksym) || IsPFKey(ksym) 107 || IsMiscFunctionKey(ksym) || IsPFKey(ksym)
108 || IsPrivateKeypadKey(ksym)) 108 || IsPrivateKeypadKey(ksym))