; * src/xterm.c (x_update_end): Condition on HAVE_XDBE

This commit is contained in:
Robert Pluim 2023-02-21 18:05:32 +01:00
parent f1c8389806
commit 4dc1f2b9a0

View file

@ -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.