emacs-diffs
[Top][All Lists]
Advanced

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

master 625d6da5ba: Fix build with toolkit scroll bars without XI2


From: Po Lu
Subject: master 625d6da5ba: Fix build with toolkit scroll bars without XI2
Date: Sat, 16 Apr 2022 05:14:03 -0400 (EDT)

branch: master
commit 625d6da5bad8c5e33d8c3214853d0bc35695f76d
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix build with toolkit scroll bars without XI2
    
    * src/xterm.c (mark_xterm): Fix up ifdefs slightly.
---
 src/xterm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index ae3f2d7517..dc33ba7556 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -23847,7 +23847,7 @@ void
 mark_xterm (void)
 {
   Lisp_Object val;
-#ifdef HAVE_XINPUT2
+#if defined HAVE_XINPUT2 || defined USE_TOOLKIT_SCROLL_BARS
   struct x_display_info *dpyinfo;
   int i;
 #endif



reply via email to

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