diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-25 11:07:15 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:45 +0200 |
commit | 2fa911a6f5ab4d41ae5abdd1b86c12d3b1e64003 (patch) | |
tree | d2646930656d0052da719be5f694246ac7181bc1 /libvo | |
parent | 68200fa5659bb345c1ffe33f77949a04846dd7ae (diff) | |
download | mpv-2fa911a6f5ab4d41ae5abdd1b86c12d3b1e64003.tar.bz2 mpv-2fa911a6f5ab4d41ae5abdd1b86c12d3b1e64003.tar.xz |
vo_corevideo: Send KEY_CLOSE_WIN instead of KEY_ESC for quit
Send KEY_CLOSE_WIN instead of KEY_ESC when the user requested
corevideo to quit, KEY_ESC might have been rebound to something else.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31801 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_corevideo.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_corevideo.m b/libvo/vo_corevideo.m index e40ae9c20b..141cecda9a 100644 --- a/libvo/vo_corevideo.m +++ b/libvo/vo_corevideo.m @@ -621,7 +621,7 @@ static int control(uint32_t request, void *data) { if(sender == kQuitCmd) { - mplayer_put_key(KEY_ESC); + mplayer_put_key(KEY_CLOSE_WIN); } if(sender == kHalfScreenCmd) @@ -1044,6 +1044,6 @@ static int control(uint32_t request, void *data) - (void)windowWillClose:(NSNotification *)aNotification { mpGLView = NULL; - mplayer_put_key(KEY_ESC); + mplayer_put_key(KEY_CLOSE_WIN); } @end |