forked from enlightenment/efl
elementary: Make wl frame borders above content
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>
This commit is contained in:
parent
91437a3424
commit
46904e19a7
|
@ -3599,12 +3599,12 @@ _elm_win_frame_add(Efl_Ui_Win_Data *sd, const char *style)
|
||||||
{
|
{
|
||||||
Evas_Object *obj = sd->obj;
|
Evas_Object *obj = sd->obj;
|
||||||
int w, h, mw, mh;
|
int w, h, mw, mh;
|
||||||
/* short layer; */
|
short layer;
|
||||||
|
|
||||||
if (sd->frame_obj) return;
|
if (sd->frame_obj) return;
|
||||||
sd->frame_obj = edje_object_add(sd->evas);
|
sd->frame_obj = edje_object_add(sd->evas);
|
||||||
/* layer = evas_object_layer_get(obj); */
|
layer = evas_object_layer_get(obj);
|
||||||
/* evas_object_layer_set(sd->frame_obj, layer + 1); */
|
evas_object_layer_set(sd->frame_obj, layer + 1);
|
||||||
if (!elm_widget_theme_object_set
|
if (!elm_widget_theme_object_set
|
||||||
(sd->obj, sd->frame_obj, "border", "base", style))
|
(sd->obj, sd->frame_obj, "border", "base", style))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue