path: root/src/lib
diff options
authorJean Guyomarc'h <>2017-03-09 23:04:26 +0100
committerJean Guyomarc'h <>2017-03-09 23:16:16 +0100
commitadf9608387892fbea82cd8440808c90aa0215fee (patch)
tree96e7b932cafb723608794d5f6017f2dda12985a8 /src/lib
parentc1604cdac8c474bb5f8266886046db26ca80f37d (diff)
ecore_cocoa: fix windows initial rendering
We need to refresh the Cocoa's content view when showing the window. In some particular cases (including the elementary_test initial window), the content view is redrawn because of external events (the entry animator). When no action at all is performed, the window and the content view are resized... nice... but not drew... Such a simple fix for this hell of a bug! Fixes T5210
Diffstat (limited to 'src/lib')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m
index 2edb8b6beb..ebd3ddd498 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_window.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m
@@ -539,6 +539,7 @@ ecore_cocoa_window_show(Ecore_Cocoa_Window *window)
539 539
540 if (![window->window isVisible]) 540 if (![window->window isVisible])
541 [window->window makeKeyAndOrderFront:NSApp]; 541 [window->window makeKeyAndOrderFront:NSApp];
542 [window->window display];
542} 543}
543 544
544EAPI void 545EAPI void