Change scrolling speed from 16 to 32

This commit is contained in:
Sasha Koshka 2024-06-07 01:07:48 -04:00
parent 6eff6887e7
commit a9ac9f6600

View File

@ -13,7 +13,7 @@ type scrollSum struct {
} }
// TODO: this needs to be configurable, we need a config api // TODO: this needs to be configurable, we need a config api
const scrollDistance = 16 const scrollDistance = 32
func (sum *scrollSum) add (button xproto.Button, window *window, state uint16) { func (sum *scrollSum) add (button xproto.Button, window *window, state uint16) {
if xgbkb.StateToModifiers(state).Shift { if xgbkb.StateToModifiers(state).Shift {