diff options
| author | phintuka <phintuka> | 2009-07-23 12:54:28 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2009-07-23 12:54:28 +0000 |
| commit | d04ce869bd2226365815d75dacaf5e5e55c15c0a (patch) | |
| tree | d4231b1f655bc72a597e93f9ca9a0f77c4087dc5 | |
| parent | 9838fde7e4f175be9bfb4c1d8c08df797485c36b (diff) | |
| download | xineliboutput-d04ce869bd2226365815d75dacaf5e5e55c15c0a.tar.gz xineliboutput-d04ce869bd2226365815d75dacaf5e5e55c15c0a.tar.bz2 | |
Accept only KeyPress events
(http://linuxtv.org/pipermail/vdr/2009-June/020784.html)
| -rw-r--r-- | xine_sxfe_frontend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index a3221429..edd7650e 100644 --- a/xine_sxfe_frontend.c +++ b/xine_sxfe_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_sxfe_frontend.c,v 1.112 2009-05-31 19:25:03 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.113 2009-07-23 12:54:28 phintuka Exp $ * */ @@ -1405,7 +1405,7 @@ static void sxfe_interrupt(frontend_t *this_gen) */ static void XKeyEvent_handler(sxfe_t *this, XKeyEvent *kev) { - if(kev->keycode) { + if(kev->keycode && kev->type == KeyPress) { KeySym ks; char buffer[20]; XComposeStatus status; |
