raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=811e4240b693b761462802b8811ba6088985b745

commit 811e4240b693b761462802b8811ba6088985b745
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri May 8 11:55:05 2020 +0100

    shelf - fix off-by one added in previous fix to invisible shelf
---
 src/bin/e_shelf.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c
index 77f5a9ed5..6b8b9dbf5 100644
--- a/src/bin/e_shelf.c
+++ b/src/bin/e_shelf.c
@@ -292,9 +292,13 @@ _shelf_content_fix(void *data)
    // at the same time so things going weird with child size and thus
    // position etc.
    E_Shelf *es = data;
+   int w, h;
+
    es->fix_timer = NULL;
-   e_shelf_resize(es, es->w + 1, es->h + 1);
-   e_shelf_resize(es, es->w, es->h);
+   w = es->w;
+   h = es->h;
+   e_shelf_resize(es, w + 1, h + 1);
+   e_shelf_resize(es, w, h);
    return EINA_FALSE;
 }
 

-- 


Reply via email to