emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 02b180e955 3/3: ; * src/xterm.c (x_update_begin): Fix build witho


From: Po Lu
Subject: master 02b180e955 3/3: ; * src/xterm.c (x_update_begin): Fix build without DBE.
Date: Fri, 29 Jul 2022 05:27:49 -0400 (EDT)

branch: master
commit 02b180e955ab0923b5fe2b8f362f1fedb092f760
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; * src/xterm.c (x_update_begin): Fix build without DBE.
---
 src/xterm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xterm.c b/src/xterm.c
index 4d4febcc36..7399ec3e42 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]