summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_events_objc.h
Commit message (Collapse)AuthorAgeFilesLines
* osx: code cleanups and cosmetic fixesAkemi2018-01-201-8/+1
|
* osx: fix media keys input when other Apps steal the priorityAkemi2017-09-071-0/+2
| | | | | | | | | | | other Apps do the same as mpv and tap into the global event chain. events that are handled are not being propagated down the event chain. that can lead to mpv not getting any media key events anymore when they are held back by other Apps. we will just move mpv back to the top of the event list when mpv is refocused and is not at the top of the list any more. Fixes #4834
* osx: change license of OSX and cocoa files to LGPLwm42017-06-241-7/+7
| | | | All authors of the current code have agreed.
* osx: fix key input in certain circumstancesAkemi2017-03-261-0/+2
| | | | | | | | | | | | | 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.
* osx: initial Touch Bar supportAkemi2017-03-261-0/+2
|
* osx: never expose input_ctx from EventsResponderwm42015-05-261-2/+8
| | | | Keep it internal, so we can synchronize access to it properly.
* cocoa: move handleFilesArray: to macosx_eventsFRAU KOUJIRO2014-08-061-0/+2
|
* cocoa: sync inputContext inside EventsResponderFRAU KOUJIRO2014-08-061-1/+3
|
* cocoa: decouple events from application somewhatFRAU KOUJIRO2014-08-061-0/+33