summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-02-03 00:51:20 +0000
committersabetts <sabetts>2002-02-03 00:51:20 +0000
commitce521bc96af08394599348b568c3dea623fd0400 (patch)
treed860f8e316948949b3fad1c59349a5d8bea55786
parentf0d5e1a21cf9798300394563b9107754ad1c62ef (diff)
downloadratpoison-ce521bc96af08394599348b568c3dea623fd0400.zip
(handle_signals): only hide the bar if it times
out.
-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;
}