diff options
| author | phintuka <phintuka> | 2008-11-13 23:37:58 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2008-11-13 23:37:58 +0000 |
| commit | 8456eb53ed890984527b6e0c6cfc09bf1391db6d (patch) | |
| tree | 153c09d31887b87fad9cc32f469931eba7eb2d8c | |
| parent | 3bd06f23f41e20d4ac5d97b8b4af5c902c1c4053 (diff) | |
| download | xineliboutput-8456eb53ed890984527b6e0c6cfc09bf1391db6d.tar.gz xineliboutput-8456eb53ed890984527b6e0c6cfc09bf1391db6d.tar.bz2 | |
Do not use process_xine_keypress
| -rw-r--r-- | xine_sxfe_frontend.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index fa9e2397..dfd799ed 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.95 2008-11-13 23:32:42 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.96 2008-11-13 23:37:58 phintuka Exp $ * */ @@ -1437,15 +1437,11 @@ static int XKeyEvent_handler(sxfe_t *this, XKeyEvent *kev) #endif #ifdef FE_STANDALONE case XK_Escape: - terminate_key_pressed = 1; + this->x.fe.send_event((frontend_t*)this, "QUIT"); return 0; - default: - process_xine_keypress((fe_t*)this, "XKeySym", XKeysymToString(ks), 0, 0); -#else - default: - if(this->x.keypress) - this->x.keypress("XKeySym", XKeysymToString(ks)); #endif + default: + this->x.fe.send_input_event((frontend_t*)this, "XKeySym", XKeysymToString(ks), 0, 0); return 1; } } |
