From: Robert Pluim Date: Tue, 21 Feb 2023 17:05:32 +0000 (+0100) Subject: ; * src/xterm.c (x_update_end): Condition on HAVE_XDBE X-Git-Tag: emacs-29.0.90~359 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4dc1f2b9a01;p=emacs.git ; * src/xterm.c (x_update_end): Condition on HAVE_XDBE --- 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.