]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix build with toolkit scroll bars without XI2
authorPo Lu <luangruo@yahoo.com>
Sat, 16 Apr 2022 09:13:21 +0000 (17:13 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 16 Apr 2022 09:13:43 +0000 (17:13 +0800)
* src/xterm.c (mark_xterm): Fix up ifdefs slightly.

src/xterm.c

index ae3f2d75179f5b8fadf50d479d19b99032a98d14..dc33ba75569da5bec6cd94d25ec707779c6b8fe5 100644 (file)
@@ -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