summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_corevideo.m4
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