Disable continual scrolling code when rxvt and next styles are not
authorayin <ayin>
Sat, 26 Jan 2008 15:26:54 +0000 (15:26 +0000)
committerayin <ayin>
Sat, 26 Jan 2008 15:26:54 +0000 (15:26 +0000)
requested.

src/rxvt.h

index 8b572dc7d77155b9f0dda45af9e24416b30c92bd..bf7b493f884c6063c1bdb7a40f464b0b2339b672 100644 (file)
@@ -283,6 +283,10 @@ struct mouse_event {
 # define HAVE_SCROLLBARS 1
 #endif
 
+#if !defined (RXVT_SCROLLBAR) && !defined (NEXT_SCROLLBAR)
+# define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1
+#endif
+
 enum {
   NO_REFRESH       = 0,  /* Window not visible at all!        */
   FAST_REFRESH     = 1,  /* Fully exposed window              */