LaurentGomila/SFML — pull request #295 by ryanfields (2012-10-05 16:39:39+00:00)
Title: Brings sf::Window getPosition and setPosition closer to parity on OS X.

The coordinate system transformation that occurs when dealing with window
positions on OS X requires (or at least warrants) some fuzzy logic in
dealing with getting and setting window positions. In any windowing
system, requesting a position should effectively yield the components
for an identity transform of the window's current position. In other
words, coordinates obtained by a call to getPosition should have no
impact in the window's position when immediately applied to setPosition.

This change brings getPosition and setPosition much closer to acheiving
that identity transform in the OS X implementation, correcting the error
in most cases, and producing far less unpredictable results in the cases
that remain affected.