ecore_evas_x: Fixed strange condition.
Summary: To satisfy this condition, ee->visible will be EINA_FALSE. But when iconify is requested, ee->visible is usually EINA_TRUE. @fix Reviewers: raster, Hermet, seoz Reviewed By: seoz Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1710
This commit is contained in:
parent
dc081b10e7
commit
cc89a541de
|
@ -3051,7 +3051,7 @@ _ecore_evas_x_iconified_set(Ecore_Evas *ee, Eina_Bool on)
|
||||||
Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
|
Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
|
||||||
|
|
||||||
if (ee->prop.iconified == on) return;
|
if (ee->prop.iconified == on) return;
|
||||||
if (((ee->should_be_visible) && (!ee->visible)) || (!ee->visible))
|
if (((ee->should_be_visible) && (!ee->visible)) || (ee->visible))
|
||||||
ee->prop.iconified = on;
|
ee->prop.iconified = on;
|
||||||
_ecore_evas_x_hints_update(ee);
|
_ecore_evas_x_hints_update(ee);
|
||||||
if (on)
|
if (on)
|
||||||
|
|
Loading…
Reference in New Issue