diff options
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r-- | libvo/vo_sdl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 6426374180..364e1f4f5c 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -430,7 +430,7 @@ increase your display's color depth, if possible.\n", priv->bpp); SDL_EventState(SDL_MOUSEMOTION, SDL_IGNORE); SDL_EventState(SDL_MOUSEBUTTONDOWN, SDL_IGNORE); SDL_EventState(SDL_MOUSEBUTTONUP, SDL_IGNORE); - SDL_EventState(SDL_QUIT, SDL_IGNORE); +// SDL_EventState(SDL_QUIT, SDL_IGNORE); SDL_EventState(SDL_SYSWMEVENT, SDL_IGNORE); SDL_EventState(SDL_USEREVENT, SDL_IGNORE); #endif @@ -1145,6 +1145,10 @@ static void check_events (void) } break; + case SDL_QUIT: + SDL_ShowCursor(1); + mplayer_put_key('q'); + break; } } } |