summaryrefslogtreecommitdiffstats
path: root/core/input/ar.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/input/ar.c')
-rw-r--r--core/input/ar.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/input/ar.c b/core/input/ar.c
index 4dc1c27f5a..844ad680b3 100644
--- a/core/input/ar.c
+++ b/core/input/ar.c
@@ -33,8 +33,6 @@
#include "ar.h"
#include "keycodes.h"
-extern int slave_mode;
-
extern const double NSAppKitVersionNumber;
typedef struct cookie_keycode_map {
@@ -313,9 +311,6 @@ static int is_mplayer_front(void)
&& SameProcess(&frProc, &myProc, &sameProc) == noErr) {
if (sameProc)
return 1;
- // If MPlayer is running in slave mode, also check parent process.
- if (slave_mode && GetProcessPID(&frProc, &parentPID) == noErr)
- return parentPID==getppid();
}
return 0;
}