summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/events.c7
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4711037..093bf6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2002-02-02 Shawn Betts <sabetts@vcn.bc.ca>
+ * src/events.c (handle_signals): only hide the bar if it times
+ out.
+
* src/bar.c (marked_message): Fix text marking bug.
2002-02-01 Shawn Betts <sabetts@vcn.bc.ca>
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;
}