From 511138bf6ed4d00f10803a9d9a5cc55698c652b8 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Tue, 23 Apr 2013 18:43:25 +0900 Subject: [PATCH] [ILLUME2] add code to iconify window when it's transient_for parent window was iconified Change-Id: I83c9209e90dd69c1f30a60877d851245309d5334 --- illume2-tizen/src/policies/illume/policy.c | 17 +++++++++++++++++ packaging/e17-extra-modules.spec | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/illume2-tizen/src/policies/illume/policy.c b/illume2-tizen/src/policies/illume/policy.c index 03af25d..ab90eea 100644 --- a/illume2-tizen/src/policies/illume/policy.c +++ b/illume2-tizen/src/policies/illume/policy.c @@ -4280,6 +4280,23 @@ _policy_calculate_visibility(void) control_indi = 1; zone = xwin_info->bd_info->border->zone; } + else + { + if (xwin_info->visibility == E_ILLUME_VISIBILITY_FULLY_OBSCURED) + { + if (_e_illume_cfg->use_force_iconify) + { + if (bd->parent && bd->parent->iconic) + { + if ((!bd->iconic) && (!do_not_iconify)) + { + L(LT_ICONIFY, "[ILLUME2][ICONIFY] %s(%d).. Iconify by illume.. win:0x%07x (parent:0x%07x)\n", __func__, __LINE__, xwin_info->bd_info->border->client.win, xwin_info->bd_info->border->parent ? xwin_info->bd_info->border->parent->client.win:(unsigned int)NULL); + _policy_border_iconify_by_illume(xwin_info); + } + } + } + } + } } if (control_indi) diff --git a/packaging/e17-extra-modules.spec b/packaging/e17-extra-modules.spec index 83f4bb7..315d2b8 100755 --- a/packaging/e17-extra-modules.spec +++ b/packaging/e17-extra-modules.spec @@ -1,6 +1,6 @@ Name: e17-extra-modules Summary: The E17 Extra Modules The E17 extra modules consists of modules made by SAMSUNG -Version: 0.10.6 +Version: 0.10.7 Release: 1 Group: System/GUI/Other License: BSD -- 2.7.4