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 /src/events.c | |
parent | f0d5e1a21cf9798300394563b9107754ad1c62ef (diff) | |
download | ratpoison-ce521bc96af08394599348b568c3dea623fd0400.zip |
(handle_signals): only hide the bar if it times
out.
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 7 |
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; } |