Re: [AD] Using system mouse cursor

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Evert Glebbeek wrote:

Why not just trap the mouse to the screen area in fullscreen?


We already do this.

Or would even that cause the mouse to stop reporting changes?

The mouse stops generating movement messages when it hits the border of the
display (as obviously it can't move that way anymore).

Right. The X server only informs the client of mouse movements when the hardware cursor *visibly* moves.

Remember that the XWFS driver is nothing but a normal X window. We just change the screen resolution and make the window fill up the whole of the screen. To the X server it's nothing special, so it doesn't get any special treatment with regards to mouse events.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/