From xemacs-m  Wed Feb  5 12:19:37 1997
Received: from loiosh.kei.com (ckd@loiosh.kei.com [192.88.144.32])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA01360
	for <xemacs-beta@xemacs.org>; Wed, 5 Feb 1997 12:19:35 -0600 (CST)
Received: (from ckd@localhost)
	by loiosh.kei.com (8.8.5/8.8.5) id NAA13148
	for xemacs-beta@xemacs.org; Wed, 5 Feb 1997 13:18:33 -0500 (EST)
Date: Wed, 5 Feb 1997 13:18:33 -0500 (EST)
From: Christopher Davis <ckd@loiosh.kei.com>
Message-Id: <199702051818.NAA13148@loiosh.kei.com>
To: xemacs-beta@xemacs.org
Subject: 19.15b92: the scrollbar-x.c patch

--- xemacs-19.15-b92/src/scrollbar-x.c	Sun Feb  2 00:07:30 1997
+++ xemacs-20.0/src/scrollbar-x.c	Wed Jan 29 21:23:02 1997
@@ -46,7 +46,7 @@
    scrollbar is incredibly stupid about updating the thumb and causes
    lots of flicker if it is done too often.  */
 static int inhibit_thumb_size_change;
-int stupid_vertical_scrollbar_drag_hack = 1;
+int stupid_vertical_scrollbar_drag_hack;
 
 /* Doesn't work with athena */
 #if defined (LWLIB_SCROLLBARS_MOTIF) || defined (LWLIB_SCROLLBARS_LUCID)
@@ -597,8 +597,9 @@
       SCROLLBAR_X_VDRAG_ORIG_VALUE (instance) = data->slider_value;
       SCROLLBAR_X_VDRAG_ORIG_WINDOW_START (instance) =
 	XINT (Fwindow_start (win));
-#endif
+#else
       stupid_vertical_scrollbar_drag_hack = 0;
+#endif
       break;
 
     case SCROLLBAR_DRAG:
@@ -857,4 +858,5 @@
 #elif defined (LWLIB_SCROLLBARS_ATHENA)
   Fprovide (intern ("athena-scrollbars"));
 #endif
+  stupid_vertical_scrollbar_drag_hack = 1;
 }

(yes, I know you have it around somewhere... but it really does need to make
it into 19.15 :)

