From: Po Lu Date: Fri, 29 Jul 2022 09:23:52 +0000 (+0800) Subject: ; * src/xterm.c (x_update_begin): Fix build without DBE. X-Git-Tag: emacs-29.0.90~1447^2~672 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=02b180e955ab0923b5fe2b8f362f1fedb092f760;p=emacs.git ; * src/xterm.c (x_update_begin): Fix build without DBE. --- diff --git a/src/xterm.c b/src/xterm.c index 4d4febcc368..7399ec3e42d 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. */