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
This commit is contained in:
Jean Guyomarc'h 2017-03-09 23:04:26 +01:00
parent c1604cdac8
commit adf9608387
1 changed files with 1 additions and 0 deletions

View File

@ -539,6 +539,7 @@ ecore_cocoa_window_show(Ecore_Cocoa_Window *window)
if (![window->window isVisible])
[window->window makeKeyAndOrderFront:NSApp];
[window->window display];
}
EAPI void