From 063ca8f0fe48c281944c5307b1e8bbb11bb22822 Mon Sep 17 00:00:00 2001 From: Akemi Date: Sun, 26 Mar 2017 20:32:04 +0200 Subject: osx: fix key input in certain circumstances for a reason i can just assume some key events can vanish from the event chain and mpv seems unresponsive. after quite some testing i could confirm that the events are present at the first entry point of the event chain, the sendEvent method of the Application, and that they vanish at a point afterwards. now we use that entry point to grab keyDown and keyUp events. we also stop propagating those key events to prevent the no key input' error sound. if we ever need the key events somewhere down the event chain we need to start propagating them again. though this is not necessary currently. --- etc/builtin.conf | 1 - 1 file changed, 1 deletion(-) (limited to 'etc') diff --git a/etc/builtin.conf b/etc/builtin.conf index 533dce7127..1d93df9606 100644 --- a/etc/builtin.conf +++ b/etc/builtin.conf @@ -24,7 +24,6 @@ stop-playback-on-init-failure=yes # OSX/Cocoa global input hooks input-appleremote=no input-media-keys=no -input-app-events=no [encoding] vo=lavc -- cgit v1.2.3