summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-06-04 16:00:50 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-06-04 16:53:26 +0200
commit29be8f2819a384a86a46d4fd6ad924b573b207dd (patch)
tree93b80c79827b33274533b195143596447ef9934c /src/lib/ecore_cocoa
parent8a23d53c66096a3f6137422fa2012211b17eb7d7 (diff)
ecore_cocoa: fix window hiding logic
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_window.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m
index 191425064e..c2db749818 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_window.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m
@@ -508,7 +508,7 @@ ecore_cocoa_window_hide(Ecore_Cocoa_Window *window)
508{ 508{
509 EINA_SAFETY_ON_NULL_RETURN(window); 509 EINA_SAFETY_ON_NULL_RETURN(window);
510 510
511 if (![window->window isVisible]) 511 if ([window->window isVisible])
512 [window->window orderOut:NSApp]; 512 [window->window orderOut:NSApp];
513} 513}
514 514