diff options
author | Marcel Hollerbach <marcel@osg.samsung.com> | 2020-07-21 11:20:47 +0200 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-07-26 17:28:25 +0100 |
commit | caaff77b423b8b1d566d6b951da8e2b49f8f7bde (patch) | |
tree | 48ddf067f90a4e01b5818a8477659d9d595cb402 | |
parent | d42adad715c7e8dfef425411f6e31052968b3ced (diff) | |
download | enlightenment-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.c | 2 |
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; |