From c82fc8309b2bbc24277fd9b8519387b4c11556d2 Mon Sep 17 00:00:00 2001 From: Duna Oh Date: Wed, 2 Sep 2015 19:21:07 +0900 Subject: [PATCH] set NOTIFICATION layer to 'noti_win' window and move to (0,0) position Change-Id: I431304daba2e8e31e3780ff016684740e3710935 Signed-off-by: Duna Oh --- src/e_mod_main.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 4fe0482..3c96007 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -344,6 +344,13 @@ _pol_cb_hook_client_eval_pre_new_client(void *d EINA_UNUSED, E_Client *ec) if (ec->layer != E_LAYER_CLIENT_ABOVE) evas_object_layer_set(ec->frame, E_LAYER_CLIENT_ABOVE); } + if (e_mod_pol_client_is_noti(ec)) + { + ec->lock_client_location = 1; + EINA_SAFETY_ON_NULL_RETURN(ec->frame); + if (ec->layer != E_LAYER_CLIENT_NOTIFICATION_HIGH) + evas_object_layer_set(ec->frame, E_LAYER_CLIENT_NOTIFICATION_HIGH); + } } static void @@ -402,6 +409,8 @@ _pol_cb_hook_client_eval_post_fetch(void *d EINA_UNUSED, E_Client *ec) } return; } + if (e_mod_pol_client_is_noti(ec)) + e_client_util_move_without_frame(ec, 0, 0); if (!_pol_client_normal_check(ec)) return; -- 2.7.4