summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2020-07-21 11:20:47 +0200
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-07-26 17:28:25 +0100
commitcaaff77b423b8b1d566d6b951da8e2b49f8f7bde (patch)
tree48ddf067f90a4e01b5818a8477659d9d595cb402
parentd42adad715c7e8dfef425411f6e31052968b3ced (diff)
downloadenlightenment-caaff77b423b8b1d566d6b951da8e2b49f8f7bde.tar.gz
e_shelf: only reset autohide timer if we are not hidden
otherwise we might hide shelfs even if the calendar is shown, without the possibility of reshowing them again.
-rw-r--r--src/bin/e_shelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c
index f2023fca15..3f273bc708 100644
--- a/src/bin/e_shelf.c
+++ b/src/bin/e_shelf.c
@@ -509,7 +509,7 @@ e_shelf_toggle(E_Shelf *es, int show)
E_OBJECT_TYPE_CHECK(es, E_SHELF_TYPE);
es->toggle = show;
- if (_e_shelf_autohide_timer_extend(es)) return;
+ if (!es->hidden && _e_shelf_autohide_timer_extend(es)) return;
if (es->locked) return;
es->interrupted = -1;
es->urgent_show = 0;