diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-10 15:17:33 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-10 15:17:33 -0400 |
commit | 082d730944950c202f24d3701878c06cf5e44f5f (patch) | |
tree | ae3addce2ea786cf0a8fcb4e2d0c8992d0a3b05b | |
parent | 4ea87b6f9d61c7c8994f4c3e6e473d94c0863142 (diff) | |
download | runes-082d730944950c202f24d3701878c06cf5e44f5f.tar.gz runes-082d730944950c202f24d3701878c06cf5e44f5f.zip |
redraw the full window after flashing the visual bell
otherwise it leaves the foreground color around the border if the window
isn't sized exactly right
-rw-r--r-- | src/window-xlib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c index 524b853..c41bedf 100644 --- a/src/window-xlib.c +++ b/src/window-xlib.c @@ -625,6 +625,9 @@ static void runes_window_backend_reset_visual_bell(void *t) { RunesWindowBackend *w = ((RunesTerm *)t)->w; + cairo_set_source(w->backend_cr, ((RunesTerm *)t)->config->bgdefault); + cairo_paint(w->backend_cr); + cairo_surface_flush(cairo_get_target(w->backend_cr)); runes_window_backend_request_flush(t); w->visual_bell_is_ringing = 0; } |