Extended scope of mananged client layer 90/43090/1 accepted/tizen/mobile/20150708.065929 accepted/tizen/tv/20150708.065940 accepted/tizen/wearable/20150708.065952 submit/tizen/20150708.024550
authorMinJeong Kim <minjjj.kim@samsung.com>
Tue, 7 Jul 2015 12:09:34 +0000 (21:09 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Wed, 8 Jul 2015 00:44:06 +0000 (09:44 +0900)
Extended scope of mananged client layer to
E_LAYER_CLIENT_NOTIFICATION_HIGH.

Change-Id: I8dae90d02a060bf57d9f2105522386c3ce370463
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_client.c
src/bin/e_comp_canvas.c
src/bin/e_comp_x.c

index a278ff29f8f8c79fe0094f611a99e06663b2d81f..6b271a197a04fa4d7db062159b4b069bdc802180 100644 (file)
@@ -3345,11 +3345,11 @@ e_client_above_get(const E_Client *ec)
           if (!e_object_is_del(E_OBJECT(ec2)))
             return ec2;
      }
-   if (ec->layer == E_LAYER_CLIENT_PRIO) return NULL;
+   if (ec->layer == E_LAYER_CLIENT_NOTIFICATION_HIGH) return NULL;
    if (e_comp_canvas_client_layer_map(ec->layer) == 9999) return NULL;
 
    /* go up the layers until we find one */
-   for (x = e_comp_canvas_layer_map(ec->layer) + 1; x <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); x++)
+   for (x = e_comp_canvas_layer_map(ec->layer) + 1; x <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); x++)
      {
         if (!ec->comp->layers[x].clients) continue;
         EINA_INLIST_FOREACH(ec->comp->layers[x].clients, ec2)
@@ -3400,7 +3400,7 @@ e_client_bottom_get(const E_Comp *c)
 
    EINA_SAFETY_ON_NULL_RETURN_VAL(c, NULL);
 
-   for (x = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); x++)
+   for (x = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); x++)
      {
         E_Client *ec2;
 
@@ -3419,7 +3419,7 @@ e_client_top_get(const E_Comp *c)
 
    EINA_SAFETY_ON_NULL_RETURN_VAL(c, NULL);
 
-   for (x = e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); x >= e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x--)
+   for (x = e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); x >= e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); x--)
      {
         E_Client *ec2;
 
index ca044bfcbfe359f6430e5313042ecbaf9af0e0f2..8cf34c636427846c8bd270e0e0c6232d99e55b3d 100644 (file)
@@ -478,7 +478,7 @@ e_comp_canvas_fake_layers_init(E_Comp *comp)
    unsigned int layer;
 
    /* init layers */
-   for (layer = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); layer <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); layer++)
+   for (layer = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); layer <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); layer++)
      {
         Evas_Object *o2;
 
index ae946d9ac9e1164739260680681cf49a2670465f..32122e447ef70ffb306e45cddfd0fdfa062b3547 100644 (file)
@@ -4772,7 +4772,7 @@ _e_comp_x_del(E_Comp *c)
         ecore_x_ungrab();
      }
 
-   for (i = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); i <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); i++)
+   for (i = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); i <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); i++)
      ecore_x_window_free(c->layers[i].win);
 
    ecore_x_composite_unredirect_subwindows
@@ -5170,7 +5170,7 @@ _e_comp_x_setup(E_Comp *c, Ecore_X_Window root, int w, int h)
    e_grabinput_focus(c->ee_win, E_FOCUS_METHOD_PASSIVE);
 
    /* init layers */
-   for (i = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); i <= e_comp_canvas_layer_map(E_LAYER_CLIENT_PRIO); i++)
+   for (i = e_comp_canvas_layer_map(E_LAYER_CLIENT_DESKTOP); i <= e_comp_canvas_layer_map(E_LAYER_CLIENT_NOTIFICATION_HIGH); i++)
      {
         char buf[64];
         E_Client *ec;