desklock - make blocker transparent again - a theme issue not code

if "theme is transparent" and this is an issue - dont use that theme.
very simple. the theme for a desk LOCK should be solid. it should hide
what is underneath. that is the POINT is can have transition effects
and that is why we shouldnt hide what is under it to allow that to
happen otherwise if you do have such an effect (eg a fade in) you just
get a black screen instantly on ctrl+alt+l for lock for example THEN
it fades in which is not how things SHOULD look.

yes - there is an issue on locking on screen lock where you get an
initial fade in effect for example as desklock is shown LATER like
when screen "unsuspends" from blank rather thanbefore this point. that
is orthogonal. this rect should block events... not pixels. don't use
non-solid themes or images if you dont want to see through...
This commit is contained in:
Carsten Haitzler 2017-01-07 14:19:18 +09:00
parent 3903d44666
commit 0b0b6e6fd9
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ e_desklock_show(Eina_Bool suspend)
}
o = evas_object_rectangle_add(e_comp->evas);
block_rects[zone->num] = o;
evas_object_color_set(o, 0, 0, 0, 255);
evas_object_color_set(o, 0, 0, 0, 0);
evas_object_geometry_set(o, zone->x, zone->y, zone->w, zone->h);
evas_object_layer_set(o, E_LAYER_DESKLOCK);
if (!block_zone[zone->num])