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. --- DOCS/interface-changes.rst | 1 + DOCS/man/options.rst | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 253ea98a39..bcffc69cee 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -30,6 +30,7 @@ Interface changes input_size instead - add --sub-filter-sdh - add --sub-filter-sdh-harder + - remove --input-app-events option (macOS) --- mpv 0.24.0 --- - deprecate --hwdec-api and replace it with --opengl-hwdec-interop. The new option accepts both --hwdec values, as well as named backends. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 19e331a468..f6f3e98472 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2923,11 +2923,6 @@ Input (This option was renamed from ``--input-x11-keyboard``.) -``--input-app-events=`` - (OS X only) - Enable/disable application wide keyboard events so that keyboard shortcuts - can be processed without a window. Enabled by default (except for libmpv). - OSD --- -- cgit v1.2.3