summaryrefslogtreecommitdiffstats
path: root/libvo/vo_quartz.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_quartz.c')
-rw-r--r--libvo/vo_quartz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index d070a1960c..4bc8558e63 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -378,7 +378,7 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
switch ( theHICommand.commandID )
{
case kHICommandQuit:
- mplayer_put_key(KEY_ESC);
+ mplayer_put_key(KEY_CLOSE_WIN);
break;
case kHalfScreenCmd:
@@ -476,7 +476,7 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
{
case kEventWindowClosed:
theWindow = NULL;
- mplayer_put_key(KEY_ESC);
+ mplayer_put_key(KEY_CLOSE_WIN);
break;
//resize window