raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=0b0b6e6fd9b53e717037e404445716a67cbfe15e

commit 0b0b6e6fd9b53e717037e404445716a67cbfe15e
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sat Jan 7 14:19:18 2017 +0900

    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...
---
 src/bin/e_desklock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c
index 8ec9234..664b921 100644
--- a/src/bin/e_desklock.c
+++ b/src/bin/e_desklock.c
@@ -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])

-- 


Reply via email to