aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-05 19:17:13 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-05 19:17:13 -0400
commitb2bf2ed70615567e64caa9e5ca6b1f80d55982c7 (patch)
treede6fa3a0e18d1924a13a8ef6f286776eb4e5006a
parentd5130c9c4964b165f70d69204cb0e7a6983ebc56 (diff)
downloadrunes-b2bf2ed70615567e64caa9e5ca6b1f80d55982c7.tar.gz
runes-b2bf2ed70615567e64caa9e5ca6b1f80d55982c7.zip
fix redrawing the screen after a visual bell
-rw-r--r--src/window-xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c
index 0030f4f..6b65250 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -606,10 +606,10 @@ static void runes_window_reset_visual_bell(void *t)
{
RunesWindow *w = ((RunesTerm *)t)->w;
+ w->visual_bell_is_ringing = 0;
cairo_set_source(w->backend_cr, ((RunesTerm *)t)->config->bgdefault);
cairo_paint(w->backend_cr);
runes_window_flush(t);
- w->visual_bell_is_ringing = 0;
runes_term_refcnt_dec(t);
}