]> git.eshelyaron.com Git - emacs.git/commitdiff
(xm_scroll_callback): Undo a tiny bit of the previous change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 28 Mar 2003 14:25:14 +0000 (14:25 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 28 Mar 2003 14:25:14 +0000 (14:25 +0000)
src/xterm.c

index 40ddaa0d34502475106e932d6208d5fcb3617279..1be9b4412f91b72ec4d06e5075d83a6051c8bdea 100644 (file)
@@ -4167,7 +4167,7 @@ xm_scroll_callback (widget, client_data, call_data)
        XtVaGetValues (widget, XmNsliderSize, &slider_size, NULL);
        UNBLOCK_INPUT;
 
-       whole = XM_SB_MAX;
+       whole = XM_SB_MAX - slider_size;
        portion = min (cs->value, whole);
        part = scroll_bar_handle;
        bar->dragging = make_number (cs->value);