ecore_evas/wayland: Put the default frame object in a lower layer.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 18 Apr 2013 22:04:07 +0000 (19:04 -0300)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 18 Apr 2013 22:04:07 +0000 (19:04 -0300)
The frame should not stay in the same layer as the other objects. If the
application wants to allow it to be on top of the content, then it must
provide a custom frame object and set it to that layer.

NOTE: Should we make Elementary's be on a lower layer too?

src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c

index 49b23cb..961a015 100644 (file)
@@ -214,6 +214,7 @@ ecore_evas_wayland_shm_new_internal(const char *disp_name, unsigned int parent,
         wdata->frame = _ecore_evas_wl_common_frame_add(ee->evas);
         evas_object_is_frame_object_set(wdata->frame, EINA_TRUE);
         evas_object_move(wdata->frame, 0, 0);
+        evas_object_layer_set(wdata->frame, -9999);
      }
 
    ee->engine.func->fn_render = _ecore_evas_wl_common_render;