diff options
author | sabetts <sabetts> | 2002-02-03 00:51:20 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2002-02-03 00:51:20 +0000 |
commit | ce521bc96af08394599348b568c3dea623fd0400 (patch) | |
tree | d860f8e316948949b3fad1c59349a5d8bea55786 | |
parent | f0d5e1a21cf9798300394563b9107754ad1c62ef (diff) | |
download | ratpoison-ce521bc96af08394599348b568c3dea623fd0400.zip |
(handle_signals): only hide the bar if it times
out.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/events.c | 7 |
2 files changed, 7 insertions, 3 deletions
@@ -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; } |