minor xlib fix
authornotaz <notasas@gmail.com>
Sun, 23 Aug 2009 21:56:54 +0000 (21:56 +0000)
committernotaz <notasas@gmail.com>
Sun, 23 Aug 2009 21:56:54 +0000 (21:56 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@758 be3aeb3a-fb24-0410-a615-afba39da0efa

platform/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);