summaryrefslogtreecommitdiffstats
path: root/libvo/vo_quartz.c
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-02 21:50:55 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-02 21:50:55 +0000
commit374db42e17d35f8ec2cfdb7576a4e7f68202b047 (patch)
tree7e23e7ec683a7e3552eff838f8351f66f25fb9d0 /libvo/vo_quartz.c
parent13cf9144bb8a0b1395918d6c1369da74e3655bf4 (diff)
downloadmpv-374db42e17d35f8ec2cfdb7576a4e7f68202b047.tar.bz2
mpv-374db42e17d35f8ec2cfdb7576a4e7f68202b047.tar.xz
libvo input cleanup: remove the dependency on libinput,
remove most of the crappy mappings (like O->o or ESC->q). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
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