Skip to content

Window/Unix: fix SFML issue #1228, getPosition() returns incorrect results on Linux#1266

Closed
llongi wants to merge 1 commit intoSFML:masterfrom
llongi:master
Closed

Window/Unix: fix SFML issue #1228, getPosition() returns incorrect results on Linux#1266
llongi wants to merge 1 commit intoSFML:masterfrom
llongi:master

Conversation

@llongi
Copy link
Copy Markdown
Contributor

@llongi llongi commented Aug 21, 2017

Fixes SFML issue #1228, getPosition() returns incorrect results on Linux depending on the used WM, as well as not returning values that are in-sync with what was given to setPosition(x, y).

See #1228 (comment) for a complete description of current patch, as well as testing results comparing current approach to approach in patch for over 20 different window managers.

@LaurentGomila
Copy link
Copy Markdown
Member

It's a huge work that you've done, many thanks.

I'm not a X11/WM expert, so here is my only comment: some parts or your patch don't follow our coding guidelines, you should fix them before we can merge your work.

@eXpl0it3r eXpl0it3r requested a review from binary1248 August 23, 2017 11:43
@eXpl0it3r
Copy link
Copy Markdown
Member

Can you squash the two commits?

…sults on Linux depending on the used WM,

as well as not returning values that are in-sync with what was given to setPosition(x, y).
@llongi
Copy link
Copy Markdown
Contributor Author

llongi commented Aug 24, 2017

Squash done.

@eXpl0it3r
Copy link
Copy Markdown
Member

Merged in 58b7c2c 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants