WM suport for grab key scrolling

Bert Freudenberg bert at freudenbergs.de
Fri Apr 20 11:52:15 EDT 2007

On Apr 20, 2007, at 17:32 , Marco Pesenti Gritti wrote:

> On Fri, 2007-04-20 at 10:22 -0400, Eben Eliason wrote:
>> Absolutely.  Ideal behaviors:
>> 1) The scrolling region directly visible beneath the mouse gets  
>> grab focus.
>> 2) If two scrolling regions overlap, the top one should take the  
>> grab focus.
>> 3) If a scrolling region is embedded in another (such as an iframe in
>> a web page), then the innermost region should get grab focus, unless
>> it reaches its min or max scroll and can no longer move, at which
>> point the next region in the hierarchy gets it.
> Hmm I'm not convinced about this. Usually keyboard actions apply  
> either
> globally (to the system or to the active window) or to the focused
> element. I feel pretty strange, interaction wise, to have a keyboard
> button depend on the position of the mouse.

It's not an actual keystroke but a modifier. Pressing the key alone  
does not do anything. It just enables scrolling.

You'ld want the same behavior with a scrolling mouse attached.

- Bert -

More information about the Devel mailing list