[AD] OSX and Windowed mouse behaviour

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


Hi all,

I've noticed that under OSX in windowed mode, the system mouse pointer
and the Allegro mouse pointer sometimes become unsynced.  I was looking
in src/macosx/system.m, in the window handler code, and noticed that
the code only seems to track mouse deltas, which would explain this
behaviour -- might it be better in windowed mode to check the mouse
position by doing NSPointInRect(mousecoords, view), and then warping
the mouse pointer to this new point?

- Charles




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