summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoyoun Kang <doyoun.kang@samsung.com>2013-05-15 06:58:25 +0900
committerDoyoun Kang <doyoun.kang@samsung.com>2013-05-15 06:58:25 +0900
commit8b3bdd37fc6eb2b02b3dec5f1fba24fbab549485 (patch)
tree7be05106ae37dfab19dde04c283bae06cc619ca7
parent445e90a97c803555c860093840ab11eac9184e5b (diff)
downloade17-8b3bdd37fc6eb2b02b3dec5f1fba24fbab549485.tar.gz
e17-8b3bdd37fc6eb2b02b3dec5f1fba24fbab549485.tar.bz2
e17-8b3bdd37fc6eb2b02b3dec5f1fba24fbab549485.zip
[E_BORDER] added code to unmap client window if it's state is MAPPED in _e_border_cb_window_hide()submit/tizen_2.1/20130515.030853submit/tizen/20130517.045317accepted/tizen/20130520.101345tizen_2.1
Change-Id: I93cb85aaf640484c64e512e3f7e78e0c74d93f42
-rw-r--r--packaging/e17.spec2
-rw-r--r--src/bin/e_border.c11
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)
{