diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-08-26 09:41:54 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-26 09:41:54 +0000 |
commit | 354d3d95279d150076dc8ab72f06230f6a009141 (patch) | |
tree | 3c2f4d27c1e99c8d1d3d92dcac68b9d963ee277d /uisimulator/x11/screenhack.c | |
parent | e67958ba8665655ffb16b2358a82a64c56403912 (diff) | |
download | rockbox-354d3d95279d150076dc8ab72f06230f6a009141.tar.gz rockbox-354d3d95279d150076dc8ab72f06230f6a009141.zip |
Removed beep-on-keypress
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1979 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/screenhack.c')
-rw-r--r-- | uisimulator/x11/screenhack.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/uisimulator/x11/screenhack.c b/uisimulator/x11/screenhack.c index 3b94309a7f..332abee0c3 100644 --- a/uisimulator/x11/screenhack.c +++ b/uisimulator/x11/screenhack.c | |||
@@ -197,8 +197,6 @@ int screenhack_handle_event (Display *dpy, XEvent *event) | |||
197 | KeySym keysym; | 197 | KeySym keysym; |
198 | unsigned char c = 0; | 198 | unsigned char c = 0; |
199 | XLookupString (&event->xkey, &c, 1, &keysym, 0); | 199 | XLookupString (&event->xkey, &c, 1, &keysym, 0); |
200 | if (! (keysym >= XK_Shift_L && keysym <= XK_Hyper_R)) | ||
201 | XBell (dpy, 0); /* beep for non-chord keys */ | ||
202 | key = keysym; | 200 | key = keysym; |
203 | /* fprintf(stderr, "KEY PRESSED: %c (%02x)\n", c, c); */ | 201 | /* fprintf(stderr, "KEY PRESSED: %c (%02x)\n", c, c); */ |
204 | } | 202 | } |