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: only enable/disable mouse keybinds when they change #492

Merged

Conversation

christoph-heinrich
Copy link
Contributor

The keybindings 'mbtn_left' and 'wheel' were enabled/disabled on every render, resulting in log files being spammed with corresponding debug messages.
To avoid that only call the enable/disable function when the current decision is different to the last one.

Closes #491

The keybindings 'mbtn_left' and 'wheel' were enabled/disabled on every
render, resulting in log files being spammed with corresponding debug
messages.
To avoid that only call the enable/disable function when the current
decision is different to the last one.
@tomasklaen tomasklaen merged commit 5fbfac3 into tomasklaen:main Apr 2, 2023
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.

many dup contexts in log.
2 participants