forked from enlightenment/efl
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:
parent
c1604cdac8
commit
adf9608387
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue