diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-25 00:27:09 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-25 00:27:09 -0400 |
commit | c34883a6bbc3fdc15adfea50e9e58efa7b783bc7 (patch) | |
tree | 5c02e349582ceaaa531579439beccd5416a8510a /src/window-xlib.c | |
parent | fbdfec3cb1a2b9eaf383dd47fa1d54ccf501f4fa (diff) | |
download | runes-c34883a6bbc3fdc15adfea50e9e58efa7b783bc7.tar.gz runes-c34883a6bbc3fdc15adfea50e9e58efa7b783bc7.zip |
implement bells
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r-- | src/window-xlib.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c index fcb13ef..9b7b228 100644 --- a/src/window-xlib.c +++ b/src/window-xlib.c @@ -443,6 +443,16 @@ static void runes_window_backend_resize_window( static void runes_window_backend_flush(RunesTerm *t) { + if (t->scr.audible_bell) { + runes_window_backend_audible_bell(t); + t->scr.audible_bell = 0; + } + + if (t->scr.visual_bell) { + runes_window_backend_visual_bell(t); + t->scr.visual_bell = 0; + } + if (t->visual_bell_is_ringing) { return; } |