Mercurial > mplayer.hg
changeset 31735:3bb00f5abe8e
Send KEY_CLOSE_WIN instead of KEY_ESC when the user requested
corevideo to quit, KEY_ESC might have been rebound to something else.
author | reimar |
---|---|
date | Sun, 25 Jul 2010 11:07:15 +0000 |
parents | 34d5db2f24ba |
children | 8d6697e4838e |
files | libvo/vo_corevideo.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_corevideo.m Sun Jul 25 09:47:06 2010 +0000 +++ b/libvo/vo_corevideo.m Sun Jul 25 11:07:15 2010 +0000 @@ -621,7 +621,7 @@ { if(sender == kQuitCmd) { - mplayer_put_key(KEY_ESC); + mplayer_put_key(KEY_CLOSE_WIN); } if(sender == kHalfScreenCmd) @@ -1044,6 +1044,6 @@ - (void)windowWillClose:(NSNotification *)aNotification { mpGLView = NULL; - mplayer_put_key(KEY_ESC); + mplayer_put_key(KEY_CLOSE_WIN); } @end