summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-09-25 21:19:12 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-09-25 22:23:30 -0400
commitbecb5ee153d75ce1c1817bf5889036cb8cd4d99a (patch)
tree76ee668e282570a723948b93b961c28fbb9bcf94
parent6a604f15490832bcec18757db64fa597cbd2c6b4 (diff)
ecore_evas-x11: unset withdrawn state when window is mapped
according to ICCCM 4.1.4: Newly created top-level windows are in the Withdrawn state. Once the window has been provided with suitable properties, the client is free to change its state... ... Only the client can effect a transition into or out of the Withdrawn state given that no external force can (according to spec) transition a window out of the withdrawn state, this must be done at a reasonable point. mapping the window seems like a reasonable point to me. fix T2745 ref 5954289c6ce1cd55ff212428291604b981438439 @fix
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c3
1 files changed, 2 insertions, 1 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 40f538cee5..465d8f5e87 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -1706,10 +1706,11 @@ _ecore_evas_x_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, vo
1706 } 1706 }
1707 if ((first_map_bug) && (!strcmp(ee->driver, "opengl_x11"))) 1707 if ((first_map_bug) && (!strcmp(ee->driver, "opengl_x11")))
1708 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h); 1708 evas_damage_rectangle_add(ee->evas, 0, 0, ee->w, ee->h);
1709 if (ee->prop.override) 1709 if (ee->prop.withdrawn)
1710 { 1710 {
1711 ee->prop.withdrawn = EINA_FALSE; 1711 ee->prop.withdrawn = EINA_FALSE;
1712 if (ee->func.fn_state_change) ee->func.fn_state_change(ee); 1712 if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
1713 _ecore_evas_x_hints_update(ee);
1713 } 1714 }
1714 if (ee->visible) return ECORE_CALLBACK_PASS_ON; 1715 if (ee->visible) return ECORE_CALLBACK_PASS_ON;
1715// if (ee->visible) return ECORE_CALLBACK_DONE; 1716// if (ee->visible) return ECORE_CALLBACK_DONE;