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:
Hosang Kim 2014-11-29 01:10:39 +09:00 committed by Daniel Juyung Seo
parent dc081b10e7
commit cc89a541de
1 changed files with 1 additions and 1 deletions

View File

@ -3051,7 +3051,7 @@ _ecore_evas_x_iconified_set(Ecore_Evas *ee, Eina_Bool on)
Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
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;
_ecore_evas_x_hints_update(ee);
if (on)