aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-25 00:27:09 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-25 00:27:09 -0400
commitc34883a6bbc3fdc15adfea50e9e58efa7b783bc7 (patch)
tree5c02e349582ceaaa531579439beccd5416a8510a /src/window-xlib.c
parentfbdfec3cb1a2b9eaf383dd47fa1d54ccf501f4fa (diff)
downloadrunes-c34883a6bbc3fdc15adfea50e9e58efa7b783bc7.tar.gz
runes-c34883a6bbc3fdc15adfea50e9e58efa7b783bc7.zip
implement bells
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r--src/window-xlib.c10
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;
}