forked from enlightenment/efl
ecore_cocoa: fix fullscreen for older osx versions
Tested on 10.11 and 10.9. Fixes T4395
This commit is contained in:
parent
7397b9fbe9
commit
6b3ca899e8
|
@ -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
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue