Constraining cursor to RandR crtcs
Xavier Bestel
xavier.bestel at free.fr
Mon Apr 2 01:05:14 PDT 2007
On Sun, 2007-04-01 at 19:33 -0700, Andy Ritger wrote:
> If the X
> screen is just a rectangle of pixels, shouldn't the cursor be able to
> move anywhere within that rectangle?
>
> Maybe clamping cursor(s) to CRTCs should be left up to the window
> manager?
How about the reverse ? By default, clamp the cursor in the visible
regions, and when the "mouse" tries to go past a border, fire an event
and ask (the WM or anyone) what to do (i.e. go to another island, or do
a nice 3D cube move, or start panning, or start "exposé" ...).
Maybe if there's no one listening to the events have a set of default
workable policies, to be able to move the focus to an xterm when the WM
has died, or is border-event-unaware.
Xav
More information about the xorg
mailing list