sms wip: random tweaks, refactoring (palette, sound stuff, etc)
[libpicofe.git] / linux / gp2x.c
index 17b294a..27216ee 100644 (file)
@@ -196,8 +196,7 @@ static void *xlib_threadf(void *targ)
        XSetWMName(display, win, &windowName);
 
        XSelectInput(display, win, ExposureMask |
-                       KeyPressMask |
-                       ButtonPressMask |
+                       KeyPressMask | KeyReleaseMask |
                        StructureNotifyMask);
 
        XMapWindow(display, win);