]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xterm.c (x_update_end): Condition on HAVE_XDBE
authorRobert Pluim <rpluim@gmail.com>
Tue, 21 Feb 2023 17:05:32 +0000 (18:05 +0100)
committerRobert Pluim <rpluim@gmail.com>
Tue, 21 Feb 2023 17:05:32 +0000 (18:05 +0100)
src/xterm.c

index 14c7f89b6ec0ed7819881b35e7c382cb7b1b1fe5..e981a36fa9cf0aa82cdca0c10045a90ba9496e6e 100644 (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.