]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket) <MotionNotify>: Change #ifdef
authorGerd Moellmann <gerd@gnu.org>
Thu, 23 Sep 1999 11:58:49 +0000 (11:58 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 23 Sep 1999 11:58:49 +0000 (11:58 +0000)
USE_X_TOOLKIT to #ifdef USE_TOOLKIT_SCROLL_BARS.

src/xterm.c

index 1255370bfd7c356cadb87fe1921e3dcef5d0141b..f1725b31a10a0c1b0157aa946eb0ce56dfe8a91f 100644 (file)
@@ -9424,13 +9424,13 @@ XTread_socket (sd, bufp, numchars, expected)
                  note_mouse_movement (f, &event.xmotion);
                else
                  {
-#ifndef USE_X_TOOLKIT
+#ifndef USE_TOOLKIT_SCROLL_BARS
                    struct scroll_bar *bar
                      = x_window_to_scroll_bar (event.xmotion.window);
 
                    if (bar)
                      x_scroll_bar_note_movement (bar, &event);
-#endif /* USE_X_TOOLKIT */
+#endif /* USE_TOOLKIT_SCROLL_BARS */
 
                    /* If we move outside the frame, then we're
                       certainly no longer on any text in the frame.  */