From adf9608387892fbea82cd8440808c90aa0215fee Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Thu, 9 Mar 2017 23:04:26 +0100 Subject: [PATCH] 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 --- src/lib/ecore_cocoa/ecore_cocoa_window.m | 1 + 1 file changed, 1 insertion(+) 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) if (![window->window isVisible]) [window->window makeKeyAndOrderFront:NSApp]; + [window->window display]; } EAPI void