raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2d0be47290662e6f9804f329582e04d779764062
commit 2d0be47290662e6f9804f329582e04d779764062 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Thu Oct 6 10:41:48 2016 +0900 ecore_evas x - dont set withdrawn to fals on show but wait for wm state so we handled override cases and set withdrawn to false on show, but when normally managed it might be nicer to wait for a state change via the wm state property to know we are "normal" this should fix T4699 @fix --- src/modules/ecore_evas/engines/x/ecore_evas_x.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c index b8ece81..5356571 100644 --- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c +++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c @@ -3151,15 +3151,15 @@ _ecore_evas_x_show(Ecore_Evas *ee) _ecore_evas_x_render(ee); _ecore_evas_x_sync_set(ee); _ecore_evas_x_window_profile_set(ee); - ecore_x_window_show(ee->prop.window); - if (ee->prop.fullscreen) - ecore_x_window_focus(ee->prop.window); - if (ee->prop.withdrawn) + if (!ee->prop.withdrawn) _ecore_evas_x_hints_update(ee); + else { ee->prop.withdrawn = EINA_FALSE; - if (ee->func.fn_state_change) ee->func.fn_state_change(ee); _ecore_evas_x_hints_update(ee); + ee->prop.withdrawn = EINA_TRUE; } + ecore_x_window_show(ee->prop.window); + if (ee->prop.fullscreen) ecore_x_window_focus(ee->prop.window); } static void --
