summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/events.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/events.c b/src/events.c
index db917e3..bf47e7c 100644
--- a/src/events.c
+++ b/src/events.c
@@ -810,10 +810,11 @@ handle_signals ()
PRINT_DEBUG ("Alarm recieved.\n");
- for (i=0; i<num_screens; i++)
- {
+ /* Only hide the bar if it times out. */
+ if (defaults.bar_timeout > 0)
+ for (i=0; i<num_screens; i++)
hide_bar (&screens[i]);
- }
+
hide_frame_indicator();
alarm_signalled = 0;
}