]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xterm.c (x_update_begin): Fix build without DBE.
authorPo Lu <luangruo@yahoo.com>
Fri, 29 Jul 2022 09:23:52 +0000 (17:23 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 29 Jul 2022 09:27:37 +0000 (17:27 +0800)
src/xterm.c

index 4d4febcc3685c1fd25a5adfb0b7ee7851006fd70..7399ec3e42d88b526879066b6e5356e724cd66d7 100644 (file)
@@ -6736,7 +6736,9 @@ x_update_begin (struct frame *f)
 #if defined HAVE_XSYNC && !defined USE_GTK
   /* If F is double-buffered, we can make the entire frame center
      around XdbeSwapBuffers.  */
+#ifdef HAVE_XDBE
   if (!FRAME_X_DOUBLE_BUFFERED_P (f))
+#endif
     x_sync_update_begin (f);
 #else
   /* Nothing to do.  */