Mercurial > mplayer.hg
changeset 1710:381ff166925c
Applied quit via windowbutton patch.
author | atmos4 |
---|---|
date | Mon, 27 Aug 2001 11:49:10 +0000 |
parents | a4e0211455d8 |
children | 8ba9c06c359a |
files | libvo/vo_sdl.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_sdl.c Mon Aug 27 00:55:25 2001 +0000 +++ b/libvo/vo_sdl.c Mon Aug 27 11:49:10 2001 +0000 @@ -430,7 +430,7 @@ 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 @@ } break; + case SDL_QUIT: + SDL_ShowCursor(1); + mplayer_put_key('q'); + break; } } }