forked from enlightenment/enlightenment
notification - fix shadow around extra notifications when all shown
if you show notifications on all screens the extra ones not on the current screen get a shadow - this is wrong. this fixes that @fix
This commit is contained in:
parent
264b59c42f
commit
dcc02e3bd2
|
@ -342,6 +342,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
|
||||||
if (zone == e_comp_object_util_zone_get(popup->win)) continue;
|
if (zone == e_comp_object_util_zone_get(popup->win)) continue;
|
||||||
o = e_comp_object_util_mirror_add(popup->theme);
|
o = e_comp_object_util_mirror_add(popup->theme);
|
||||||
o = e_comp_object_util_add(o, E_COMP_OBJECT_TYPE_POPUP);
|
o = e_comp_object_util_add(o, E_COMP_OBJECT_TYPE_POPUP);
|
||||||
|
edje_object_signal_emit(o, "e,state,shadow,off", "e");
|
||||||
evas_object_name_set(o, "notification_mirror");
|
evas_object_name_set(o, "notification_mirror");
|
||||||
evas_object_data_set(o, "zone", zone);
|
evas_object_data_set(o, "zone", zone);
|
||||||
evas_object_geometry_get(popup->win, NULL, NULL, &w, &h);
|
evas_object_geometry_get(popup->win, NULL, NULL, &w, &h);
|
||||||
|
|
Loading…
Reference in New Issue