e_policy: add context menu for e_policy_client_is_quickpanel 96/200596/2
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 26 Feb 2019 09:13:59 +0000 (18:13 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 7 Mar 2019 06:48:38 +0000 (06:48 +0000)
quickpanel service type added (context menu)

Change-Id: Ied2ab67776d1f48f36d8cc27f09d626caa7e5d21

src/bin/e_policy.c

index dc51a55f9132e1e077346d334236e66be6b92158..6deb9bfe54d7b0d1be1afa6a0df80aa2f9550932 100644 (file)
@@ -1745,7 +1745,10 @@ e_policy_client_is_quickpanel(E_Client *ec)
    E_OBJECT_CHECK_RETURN(ec, EINA_FALSE);
    E_OBJECT_TYPE_CHECK_RETURN(ec, E_CLIENT_TYPE, EINA_FALSE);
 
-   if (!e_util_strcmp(ec->icccm.window_role, "quickpanel"))
+   if (!e_util_strcmp(ec->icccm.window_role, "quickpanel_system_default"))
+     return EINA_TRUE;
+
+   if (!e_util_strcmp(ec->icccm.window_role, "quickpanel_context_menu"))
      return EINA_TRUE;
 
    return EINA_FALSE;