forked from enlightenment/enlightenment
move bryces to E_LAYER_DESKTOP_TOP when not above windows
moderately sure this won't conflict with anything important... fix T4819
This commit is contained in:
parent
03ad3620c7
commit
353ad6be11
|
@ -370,7 +370,7 @@ _bryce_site_hints(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event
|
|||
static E_Comp_Object_Type
|
||||
_bryce_shadow_type(const Bryce *b)
|
||||
{
|
||||
if ((b->layer == E_LAYER_DESKTOP) || b->noshadow)
|
||||
if ((b->layer == E_LAYER_DESKTOP_TOP) || b->noshadow)
|
||||
return E_COMP_OBJECT_TYPE_NONE;
|
||||
return E_COMP_OBJECT_TYPE_POPUP;
|
||||
}
|
||||
|
@ -1281,7 +1281,7 @@ e_bryce_init(void)
|
|||
}
|
||||
b->version = bryce_version;
|
||||
if (!e_comp_zone_number_get(b->zone)) continue;
|
||||
b->layer = E_CLAMP(b->layer, E_LAYER_DESKTOP, E_LAYER_CLIENT_ABOVE);
|
||||
b->layer = E_CLAMP(b->layer, E_LAYER_DESKTOP_TOP, E_LAYER_CLIENT_ABOVE);
|
||||
_bryce_create(b, e_comp->elm);
|
||||
evas_object_show(b->bryce);
|
||||
}
|
||||
|
|
|
@ -105,7 +105,7 @@ _editor_bryce_add(Evas_Object *obj)
|
|||
e_bryce_style_set(b, bi->style);
|
||||
e_bryce_autohide_set(b, bi->autohide);
|
||||
e_bryce_autosize_set(b, bi->autosize);
|
||||
evas_object_layer_set(b, bi->stack_under ? E_LAYER_DESKTOP : E_LAYER_CLIENT_ABOVE);
|
||||
evas_object_layer_set(b, bi->stack_under ? E_LAYER_DESKTOP_TOP : E_LAYER_CLIENT_ABOVE);
|
||||
evas_object_del(obj);
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,7 @@ _editor_style_click(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *eve
|
|||
evas_object_smart_callback_add(ck, "changed", _editor_stacking, bi);
|
||||
if (bryce)
|
||||
{
|
||||
bi->stack_under = evas_object_layer_get(bryce) == E_LAYER_DESKTOP;
|
||||
bi->stack_under = evas_object_layer_get(bryce) == E_LAYER_DESKTOP_TOP;
|
||||
elm_check_state_set(ck, bi->stack_under);
|
||||
}
|
||||
elm_box_pack_end(box, ck);
|
||||
|
|
Loading…
Reference in New Issue