diff --git a/linux/gp2x.c b/linux/gp2x.c index 17b294a..27216ee 100644 --- a/linux/gp2x.c +++ b/linux/gp2x.c @@ -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);