discomfitor pushed a commit to branch master.

commit fb4d8b9f35d41903363851d2f262644befcb2daf
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Apr 23 09:07:58 2013 +0100

    set force flag when hiding comp wins on desk switch
---
 src/bin/e_comp.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 24f4106..27468e2 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -3481,9 +3481,12 @@ static Eina_Bool
 _e_comp_bd_hide(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
 {
    E_Event_Border_Hide *ev = event;
-   if (ev->manage == 2) return ECORE_CALLBACK_RENEW; //desk hide
    E_Comp_Win *cw = _e_comp_win_find(ev->border->win);
-   if (cw) _e_comp_win_hide(cw);
+   if (cw)
+     {
+        cw->force |= (ev->manage == 2);
+        _e_comp_win_hide(cw);
+     }
    return ECORE_CALLBACK_PASS_ON;
 }
 

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to