diff options
author | Sadrul Habib Chowdhury <sadrul@chromium.org> | 2011-03-28 13:27:08 -0400 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@chromium.org> | 2011-03-28 13:27:08 -0400 |
commit | 519ac9b05b05d7a026261b1a9f8d81f784eddbb7 (patch) | |
tree | 32f4b78f182508c82ad2e97f21dad2b8c8efc9ab | |
parent | a805439f6443fb0e00ac6caff92f99950c1ddda8 (diff) | |
download | screen-519ac9b05b05d7a026261b1a9f8d81f784eddbb7.tar.gz |
Remember the bell event if there's no current display.
This way, when a user logs back in, he is notified of the bell event that
happened while detached.
-rw-r--r-- | src/ansi.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2902,6 +2902,8 @@ struct win *p; int visual; { struct canvas *cv; + if (displays == NULL) + p->w_bell = BELL_DONE; for (display = displays; display; display = display->d_next) { for (cv = D_cvlist; cv; cv = cv->c_next) |