[E_BORDER] added code to unmap client window if it's state is MAPPED in _e_border_cb_... tizen_2.1 accepted/tizen/20130520.101345 submit/tizen/20130517.045317 submit/tizen_2.1/20130515.030853
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 14 May 2013 21:58:25 +0000 (06:58 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 14 May 2013 21:58:25 +0000 (06:58 +0900)
Change-Id: I93cb85aaf640484c64e512e3f7e78e0c74d93f42

packaging/e17.spec
src/bin/e_border.c

index 7507601..8e29c53 100644 (file)
@@ -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
index d4604c2..5c56787 100644 (file)
@@ -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)
      {