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

Fix for crash when right clicking or doubler clicking browser url or window bar. #2606

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

tr4wzified
Copy link
Member

Fixes #2571

The current code ran Dragmove when any mousebutton event was fired, even right click, and Dragmove crashes when left button isnt held down when it is called.

Added just a guard to check left button is pressed before calling dragmove.

The crashing on double click couldve been caused by unlucky timing or threaded crap causing the function to be called when the button had already been released.

Confirmed crashing behavior prior to change, and confirmed no longer present afterwards

Credit goes to @JanuarySnow

@tr4wzified
Copy link
Member Author

tested myself, seems fine 👍

@tr4wzified tr4wzified merged commit 75a07ea into main Aug 13, 2024
4 of 6 checks passed
@tr4wzified tr4wzified deleted the clickyfix branch August 13, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fatal exception on double clicking browser window.
2 participants