e_policy_visibility: check ec's bg_state while handling lower operation 27/267327/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 1 Dec 2021 12:01:20 +0000 (21:01 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 1 Dec 2021 12:01:20 +0000 (21:01 +0900)
If the window set the bg_state, then e lowers it imediately when the window request to lower

Change-Id: If3be7cb5459fdfb31e22cf83e7e2cd74862e6513

src/bin/e_policy_visibility.c

index deade11..a8e6209 100644 (file)
@@ -2396,6 +2396,12 @@ e_policy_visibility_client_lower(E_Client *ec)
         return EINA_FALSE;
      }
 
+   if (ec->bg_state)
+     {
+        VS_DBG(ec, "client is background state.");
+        return EINA_FALSE;
+     }
+
    VS_DBG(ec, "API ENTRY | LOWER");
 
    /* if vc has job grab, release them */