mozdev.org

Xscroll

resources:

A few problems with mousewheel were found while developing Xscroll.
Here are patches which fixes those problems, and the patch which adds a `horizontal scroll with modifier key' feature to the Mozilla itself.

To apply a patch,

  1. change directory to source code's root directory.
  2. $ patch -p0 < patchfile

Note: These patches are based on Mozilla 1.6.
Firefox is also based on this version of Mozilla.

Mozilla w/gtk2 dosen't return correct event target for DOMMouseScroll

Xscroll looks both event.target and event.originalTarget to detect what is under the mouse pointer, but Mozilla built with gtk2 returns incorrect target.
This patch fixes it.
GTK2 is the toolkit for Linux and *nix like OS, and not default toolkit so you don't have to worry about it if you're using an official binary build.


Window Maker, Mod1 + mousewheel acts strangely (Not for Mozilla)

Window Maker is the one of window managers for the X-Window System.
It maps Mod1 (Alt key, maybe) + mouse-button3 for resizing window, and Mod1 + other mouse-buttons for grabbing window.
Mouse wheel up/down is treated as mouse-button4/5 in the X-Window System.
I want to use alt + mousewheel for history back/forward.


Horizontal scroll w/modifier-key in binary level

This is the predecessor of the Xscroll, and does not work with Xscroll.
This adds options to [Preferences]->[Mouse Wheel] for horizontal scrolling.


For questions or comments about xscroll, please send a message to the xscroll mailing list.
Copyright © 2000-2007. All rights reserved. Terms of Use & Privacy Policy.