Constraining cursor to RandR crtcs

Nicolas Mailhot nicolas.mailhot at laposte.net
Mon Apr 2 07:01:52 PDT 2007


Le Lun 2 avril 2007 15:35, Graeme Gill a écrit :
> Nicolas Mailhot wrote:
>
>> IMHO if you don't allow excursions within dead zones you'll always find
>> a
>> screen setup where your solution suck. If you do allow excursions there
>> (possibly with acceleration so leaving dead zone is quick) things are
>> much
>> easier. You just have to provide visual hints to the user where the
>> cursor
>> is and how far in what direction must he move it to find a live zone
>>
>> +------------++-----+
>> |            ||   1 |
>> |            ||   v |
>> |            |+-----+
>> |            |
>> |          4>|    x
>> +------------+
>
> Suggesting perhaps that if a cursor is in a dead zone,
> it could be indicated by duplicate cursors appearing at
> all edges of that zone ?

I wouldn't call them "duplicate cursors", more like direction arrows (they
should show direction and distance to the cursor, so the user knows how to
make the cursor reappear in one of the nearest live zones (the example
there is simplistic as the dead zone is fully covered in both axes by live
zones)

-- 
Nicolas Mailhot




More information about the xorg mailing list