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
This commit is contained in:
Carsten Haitzler 2016-10-06 08:37:28 +09:00
parent 6687e8b0c0
commit 2c736adc87
1 changed files with 5 additions and 5 deletions

View File

@ -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);
if (ee->prop.override)
{
ee->prop.withdrawn = EINA_FALSE;
if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
_ecore_evas_x_hints_update(ee);
}
ecore_x_window_show(ee->prop.window);
if (ee->prop.fullscreen)
ecore_x_window_focus(ee->prop.window);
}
static void