Changed layer of client if it is warning window 09/42709/1
authorMinJeong Kim <minjjj.kim@samsung.com>
Wed, 1 Jul 2015 08:28:10 +0000 (17:28 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Wed, 1 Jul 2015 14:50:06 +0000 (23:50 +0900)
Change-Id: Ie122a7a39a38dc8240399785a5fc50f0dfc4e674
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/e_mod_wl.c

index d116df9..a5ca485 100644 (file)
@@ -306,6 +306,11 @@ _e_tizen_policy_cb_role_set(struct wl_client *client EINA_UNUSED,
    EINA_SAFETY_ON_NULL_RETURN(ec);
 
    eina_stringshare_replace(&ec->icccm.window_role, role);
+
+   if (!e_util_strcmp("wl-warning-popup", role))
+     {
+        evas_object_layer_set(ec->frame, E_LAYER_CLIENT_POPUP);
+     }
 }
 
 static const struct tizen_policy_interface _e_tizen_policy_interface =