emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 f1c83898060: Fix build --without-xdbe


From: Eli Zaretskii
Subject: emacs-29 f1c83898060: Fix build --without-xdbe
Date: Tue, 21 Feb 2023 11:16:14 -0500 (EST)

branch: emacs-29
commit f1c838980601f05479bf29502c04fc5c38339c97
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix build --without-xdbe
    
    * src/xterm.c (x_end_cr_clip, handle_one_xevent): Condition
    double-buffering code on HAVE_XDBE.  (Bug#61667)
---
 src/xterm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/xterm.c b/src/xterm.c
index 6a4b84babe4..14c7f89b6ec 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5830,8 +5830,10 @@ void
 x_end_cr_clip (struct frame *f)
 {
   cairo_restore (FRAME_CR_CONTEXT (f));
+#ifdef HAVE_XDBE
   if (FRAME_X_DOUBLE_BUFFERED_P (f))
     x_mark_frame_dirty (f);
+#endif
 }
 
 void
@@ -20900,8 +20902,10 @@ handle_one_xevent (struct x_display_info *dpyinfo,
                  x_flush (WINDOW_XFRAME (XWINDOW (bar->window)));
                }
 
+#ifdef HAVE_XDBE
              if (f && FRAME_X_DOUBLE_BUFFERED_P (f))
                x_drop_xrender_surfaces (f);
+#endif
 
              goto OTHER;
            }



reply via email to

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