3 mousescrollsize \- compute mouse scroll increment
7 int mousescrollsize(int maxlines)
10 computes the number of lines of text that should be scrolled
11 in response to a mouse scroll wheel click.
13 is the number of lines visible in the text window.
15 The default scroll increment is one line.
16 This default can be overridden by setting the
18 environment variable to an integer, which specifies
19 a constant number of lines, or to a real number
20 followed by a percent character, indicating that the
21 scroll increment should be a percentage of the total
22 number of lines in the window.
27 causes a half-window scroll increment.
34 to set their scrolling behavior.
36 .B \*9/src/libdraw/scroll.c
42 expects up and down scroll wheel events to be expressed as clicks of mouse buttons 4 and 5,
43 but the XFree86 default is to ignore the scroll wheel.
44 To enable the scroll wheel, change your
54 Option "Device" "/dev/psaux"
56 # next four lines enable scroll wheel as buttons 4 and 5
58 Option "Emulate3Buttons" "off"
59 Option "Protocol" "ImPS/2"
60 Option "ZAxisMapping" "4 5"