Commit baa21c48 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(xm_scroll_callback): Undo a tiny bit of the previous change.

parent 3c671a56
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment