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.
This commit is contained in:
parent
0fcc23e06a
commit
324b2661ce
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue