diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-27 11:49:10 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-27 11:49:10 +0000 |
commit | 8192c1ab3cf2fe88d36abeb647b13afa36c9006e (patch) | |
tree | 957a737fb972017744cd70bb4c31a660e2d4aa92 /libvo | |
parent | 3cfd8b016170e0f560bffe4e7ea6bd741becefeb (diff) | |
download | mpv-8192c1ab3cf2fe88d36abeb647b13afa36c9006e.tar.bz2 mpv-8192c1ab3cf2fe88d36abeb647b13afa36c9006e.tar.xz |
Applied quit via windowbutton patch.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1711 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-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; } } } |