mpv/video/out/cocoa
Akemi 5e066670d0 cocoa: fix first responder when borderless window is used
this fixes a weird behaviour when a borderless window's style mask is
set to a none-borderless style mask. this can happen when cycling the
border or just toggling fullscreen. what happens is that the first
responder is reset to the NSWindow instead of being kept, the events
view in our case. this happens without the usual resignFirstResponder,
becomeFirstResponder routine.

this is a small workaround that overrides the setStyleMask method. it
keeps the first responder from before the style mask change and resets
this first responder after the new style mask was applied.
2017-03-26 20:38:26 +02:00
..
events_view.h
events_view.m osx: fix key input in certain circumstances 2017-03-26 20:38:26 +02:00
mpvadapter.h osx: fix key input in certain circumstances 2017-03-26 20:38:26 +02:00
video_view.h
video_view.m cocoa: set background of the title bar from black to white 2017-03-09 18:02:36 +01:00
window.h
window.m cocoa: fix first responder when borderless window is used 2017-03-26 20:38:26 +02:00