From caaff77b423b8b1d566d6b951da8e2b49f8f7bde Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Tue, 21 Jul 2020 11:20:47 +0200 Subject: [PATCH] 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. --- src/bin/e_shelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index f2023fca1..3f273bc70 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;