From 4dc1f2b9a01e35633acb7d01ec177e896b3b49c6 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Tue, 21 Feb 2023 18:05:32 +0100 Subject: [PATCH] ; * src/xterm.c (x_update_end): Condition on HAVE_XDBE --- src/xterm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 14c7f89b6ec..e981a36fa9c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -7360,8 +7360,10 @@ x_update_end (struct frame *f) MOUSE_HL_INFO (f)->mouse_face_defer = false; #ifdef USE_CAIRO +# ifdef HAVE_XDBE if (!FRAME_X_DOUBLE_BUFFERED_P (f) && FRAME_CR_CONTEXT (f)) cairo_surface_flush (cairo_get_target (FRAME_CR_CONTEXT (f))); +# endif #endif /* If double buffering is disabled, finish the update here. -- 2.39.2