From 02b180e955ab0923b5fe2b8f362f1fedb092f760 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 29 Jul 2022 17:23:52 +0800 Subject: [PATCH] ; * 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 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. */ -- 2.39.2