discomfitor pushed a commit to branch master.

commit 9e1d0627bb9844f5fcbc19da06781d074c0f6b03
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jul 26 11:04:36 2013 +0100

    don't set managed/mapped atoms during hide if window was delete requested
---
 src/bin/e_border.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index 4c59393..2d1bd59 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -1064,10 +1064,13 @@ e_border_hide(E_Border *bd,
           }
      }
 
-   visible = 0;
-   ecore_x_window_prop_card32_set(bd->client.win, E_ATOM_MAPPED, &visible, 1);
-   if (!manage)
-     ecore_x_window_prop_card32_set(bd->client.win, E_ATOM_MANAGED, &visible, 
1);
+   if (!bd->delete_requested)
+     {
+        visible = 0;
+        ecore_x_window_prop_card32_set(bd->client.win, E_ATOM_MAPPED, 
&visible, 1);
+        if (!manage)
+          ecore_x_window_prop_card32_set(bd->client.win, E_ATOM_MANAGED, 
&visible, 1);
+     }
 
    bd->post_show = 0;
 

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to