Looking at it again, I think there *still* some asymmetry with respect to the
if() test.
The if() test should probably be:
if( size.x <= event.GetX() || size.y <= event.GetY()
|| event.GetX() < 0 || event.GetY() < 0 )
So that if the mouse is even one pixel outside the client, or more, then the
goodness happens.
The client windows runs from 0 to size.{x,y} - 1
Try that change also please Chris.
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp