diff options
Diffstat (limited to 'hacks/pong.c')
-rw-r--r-- | hacks/pong.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hacks/pong.c b/hacks/pong.c index 8c18a1c..2415b16 100644 --- a/hacks/pong.c +++ b/hacks/pong.c @@ -1038,8 +1038,8 @@ pong_event (Display *dpy, Window window, void *closure, XEvent *event) { char c; KeySym key; - XLookupString(&event->xkey, &c, 1, &key, 0); Bool is_pressed = event->type == KeyPress; + XLookupString(&event->xkey, &c, 1, &key, 0); switch(key) { case XK_Up: |