elementary: Make wl frame borders above content
authorChris Michael <cp.michael@samsung.com>
Wed, 13 Jul 2016 19:13:17 +0000 (15:13 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 13 Jul 2016 19:13:17 +0000 (15:13 -0400)
This commit just readds the layer setting code which made the frame
border be above content. This does make sense in some contexts

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/elementary/efl_ui_win.c

index 71f15a3..3445069 100644 (file)
@@ -3599,12 +3599,12 @@ _elm_win_frame_add(Efl_Ui_Win_Data *sd, const char *style)
 {
    Evas_Object *obj = sd->obj;
    int w, h, mw, mh;
-   /* short layer; */
+   short layer;
 
    if (sd->frame_obj) return;
    sd->frame_obj = edje_object_add(sd->evas);
-   /* layer = evas_object_layer_get(obj); */
-   /* evas_object_layer_set(sd->frame_obj, layer + 1); */
+   layer = evas_object_layer_get(obj);
+   evas_object_layer_set(sd->frame_obj, layer + 1);
    if (!elm_widget_theme_object_set
        (sd->obj, sd->frame_obj, "border", "base", style))
      {