quickpanel: do not reset stacking client info(don't need to do), and check whether... 75/81275/1
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 25 Jul 2016 06:16:20 +0000 (15:16 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Mon, 25 Jul 2016 06:28:54 +0000 (15:28 +0900)
the function of auto-close of quickpanel didn't work if client stacking(raise)
before show, because the value of stacking was already null.

Change-Id: If4ca435da8c39bfbef44bd5038b3bcff303369b8

src/services/e_mod_quickpanel.c

index ec9b9ef..dd10421 100644 (file)
@@ -1079,6 +1079,7 @@ _quickpanel_below_visible_client_get(Pol_Quickpanel *qp)
      {
         if (!ec->visible) continue;
         if (!ec->icccm.accepts_focus) continue;
+        if (e_object_is_del(E_OBJECT(ec))) continue;
 
         return ec;
      }
@@ -1213,7 +1214,6 @@ _quickpanel_idle_enter(void *data)
              _e_qp_client_scrollable_update();
           }
 
-        qp->stacking = NULL;
         qp->changes.below = EINA_FALSE;
      }