diff src/redisplay-output.c @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 131b0175ea99
children 9f59509498e1
line wrap: on
line diff
--- a/src/redisplay-output.c	Mon Aug 13 09:06:45 2007 +0200
+++ b/src/redisplay-output.c	Mon Aug 13 09:07:36 2007 +0200
@@ -1140,7 +1140,12 @@
   /* #### See if we can get away with only calling this if
      max_line_len is greater than the window_char_width. */
 #ifdef HAVE_SCROLLBARS
-  update_window_scrollbars (w, NULL, 1, 1);
+  {
+    extern int stupid_vertical_scrollbar_drag_hack;
+
+    update_window_scrollbars (w, NULL, 1, stupid_vertical_scrollbar_drag_hack);
+    stupid_vertical_scrollbar_drag_hack = 1;
+  }
 #endif
 
   /* This has to be done after we've updated the values.  We don't