From 8b3bdd37fc6eb2b02b3dec5f1fba24fbab549485 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Wed, 15 May 2013 06:58:25 +0900 Subject: [PATCH] [E_BORDER] added code to unmap client window if it's state is MAPPED in _e_border_cb_window_hide() Change-Id: I93cb85aaf640484c64e512e3f7e78e0c74d93f42 --- packaging/e17.spec | 2 +- src/bin/e_border.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packaging/e17.spec b/packaging/e17.spec index 7507601..8e29c53 100644 --- a/packaging/e17.spec +++ b/packaging/e17.spec @@ -1,6 +1,6 @@ Name: e17 Summary: The Enlightenment window manager -Version: 1.0.0.001+svn.76808slp2+build35 +Version: 1.0.0.001+svn.76808slp2+build36 Release: 1 Group: System/GUI/Other License: BSD diff --git a/src/bin/e_border.c b/src/bin/e_border.c index d4604c2..5c56787 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -5764,7 +5764,16 @@ _e_border_cb_window_hide(void *data __UNUSED__, } if (!bd) bd = e_border_find_by_client_window(e->win); // printf(" bd = %p\n", bd); - if (!bd) return ECORE_CALLBACK_PASS_ON; + if (!bd) + { + if (ecore_x_window_visible_get(e->win)) + { + ELB(ELBT_BD, "FORCE UNMAP client window", e->win); + ecore_x_window_hide(e->win); + } + return ECORE_CALLBACK_PASS_ON; + } + // printf(" bd->ignore_first_unmap = %i\n", bd->ignore_first_unmap); if (bd->ignore_first_unmap > 0) { -- 2.7.4