From 60c30869338ef4d4a78d24e659a94061f6dc0693 Mon Sep 17 00:00:00 2001 From: Shawn Lee Date: Thu, 1 Aug 2013 21:11:45 +0900 Subject: [PATCH] There is a exception case that "bd->parent" is set to NULL, even if "bd->client.icccm.transient_for" is set to same window which had been set before. Change-Id: Idc6f177ea3f5b62725a39caec5e56f7334cb5bde --- illume2-tizen/src/policies/illume/policy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/illume2-tizen/src/policies/illume/policy.c b/illume2-tizen/src/policies/illume/policy.c index ededdc1..b15b1cd 100644 --- a/illume2-tizen/src/policies/illume/policy.c +++ b/illume2-tizen/src/policies/illume/policy.c @@ -1170,6 +1170,8 @@ _policy_border_pre_fetch(E_Border *bd) transient_for_win = ecore_x_icccm_transient_for_get(bd->client.win); if (bd->client.icccm.transient_for == transient_for_win) { + if (!bd->parent) + bd->parent = e_border_find_by_client_window(bd->client.icccm.transient_for); ELBF(ELBT_ILLUME, 0, bd->client.win, "Same transient_for:0x%07x. SKIP...", transient_for_win); goto transient_fetch_done; } -- 2.7.4