summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/events_view.m
Commit message (Collapse)AuthorAgeFilesLines
* cocoa: allow mouse events to bubble up with no-input-cursorStefano Pigozzi2014-10-171-14/+99
| | | | | Previously we didn't report events to the core, but still prevented the events to travel on the responder chain.
* libmpv/cocoa: allow clients to use mpv event systemStefano Pigozzi2014-10-121-0/+1
| | | | | | | | | | This allows mpv's view to take key and send events to mpv's core. To set key status correctly, clients must call -[NSWindow selectNextKeyView:] during reconfig on the main thread. All is 'documented' in the cocoabasic example. If someone knows a better way to handle giving key to the embedded view, let me know!
* cocoa: remove usage of Objective-C categoriesStefano Pigozzi2014-10-121-5/+37
| | | | | Objective-C categories need special linker flags from the user when statically linking (-ObjC LDFLAG), so make everyone's life simpler and remove them.
* cocoa: post keydown and keyup events without event monitorStefano Pigozzi2014-10-091-0/+8
| | | | | Our code worked under the assumption that the event monitor is always active and we did remove the keydown and keyup overrides from our cocoa view.
* cocoa: allow to embed into an arbitrary NSViewStefano Pigozzi2014-10-081-5/+0
| | | | | Basically add if guards on all the problematic features. I'm still thinking about a better way to handle this, but for the time being, this will do.
* cocoa: fix mouse autohideStefano Pigozzi2014-10-051-1/+1
| | | | broken in 547b62f
* cocoa: separate video view and events viewStefano Pigozzi2014-10-051-0/+262