forked from enlightenment/efl
ecore_cocoa: fix window hiding logic
This commit is contained in:
parent
8a23d53c66
commit
29be8f2819
|
@ -508,7 +508,7 @@ ecore_cocoa_window_hide(Ecore_Cocoa_Window *window)
|
|||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN(window);
|
||||
|
||||
if (![window->window isVisible])
|
||||
if ([window->window isVisible])
|
||||
[window->window orderOut:NSApp];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue