jayji pushed a commit to branch efl-1.18. http://git.enlightenment.org/core/efl.git/commit/?id=ee880753017f15de75ed4195465dbc2a1bdf89a4
commit ee880753017f15de75ed4195465dbc2a1bdf89a4 Author: Jean Guyomarc'h <[email protected]> Date: Fri Aug 26 16:48:58 2016 +0200 ecore_cocoa: fix fullscreen for older osx versions Tested on 10.11 and 10.9. Fixes T4395 --- src/lib/ecore_cocoa/ecore_cocoa_window.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m index 5908b59..bb13338 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_window.m +++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m @@ -88,6 +88,18 @@ static NSCursor *_cursors[__ECORE_COCOA_CURSOR_LAST]; ecore_event_add(ECORE_COCOA_EVENT_WINDOW_DESTROY, event, NULL, NULL); } +/* IS THIS OSX <= 10.10 ONLY? */ +- (void)windowDidEnterFullScreen:(NSNotification *) notif EINA_UNUSED +{ + [self requestResize: self.frame.size]; +} + +/* IS THIS OSX <= 10.10 ONLY? */ +- (void)windowDidExitFullScreen:(NSNotification *) notif EINA_UNUSED +{ + [self requestResize: self.frame.size]; +} + - (void)windowDidResize:(NSNotification *) EINA_UNUSED notif { /* --
