From 02e56d488bf8c6574e251e8d18b946074e0ada05 Mon Sep 17 00:00:00 2001
From: notaz <notasas@gmail.com>
Date: Sun, 23 Aug 2009 21:56:54 +0000
Subject: [PATCH] minor xlib fix

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@758 be3aeb3a-fb24-0410-a615-afba39da0efa
---
 linux/gp2x.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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);
-- 
2.39.5