Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip ClientMessage events with other window ID unless it is for IM #2651

Merged

Conversation

kimci86
Copy link
Contributor

@kimci86 kimci86 commented Aug 15, 2023

Description

This is an attempt to fix #2649.

Tasks

  • Tested on Linux

How to test this PR?

Running example program from issue #2649.

@kimci86
Copy link
Contributor Author

kimci86 commented Aug 15, 2023

This solves the issue for me.

@MJJBennett could you try this branch?

@ChrisThrasher
Copy link
Member

I can no longer reproduce the error

@MJJBennett
Copy link

Tested on my personal project and this fixes the problem I was seeing. Also tested to make 100% sure on my test project, and this definitely fixes the issue (the event is polled by the correct window).

The change itself & comments also look great 👍 Thanks for fixing this!

@ChrisThrasher ChrisThrasher merged commit 66a5f3c into SFML:2.6.x Aug 17, 2023
37 checks passed
@ChrisThrasher
Copy link
Member

Thank you! Glad to see 2.6.1 get yet another great bug fix like this.

@kimci86 kimci86 deleted the bugfix/x11_ClientMessage_filtering branch August 17, 2023 05:47
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.

None yet

3 participants