set NOTIFICATION layer to 'noti_win' window and move to (0,0) position 35/47335/2
authorDuna Oh <duna.oh@samsung.com>
Wed, 2 Sep 2015 10:21:07 +0000 (19:21 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 2 Sep 2015 12:17:45 +0000 (05:17 -0700)
Change-Id: I431304daba2e8e31e3780ff016684740e3710935
Signed-off-by: Duna Oh <duna.oh@samsung.com>
src/e_mod_main.c

index 4fe0482..3c96007 100644 (file)
@@ -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;