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 double execution of LeftClickCommand #120

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

DarkPro1337
Copy link
Contributor

This PR fixes an issue where the LeftClickCommand was executed twice. The redundant handling of the WM_LBUTTONUP message caused the command to be triggered multiple times. By removing the WM_LBUTTONUP message handling, the LeftClickCommand is now executed only once when the notification icon is clicked, also ensuring the correct behavior with NoLeftClickDelay enabled.

- Remove redundant WM_LBUTTONUP handling for notification icon clicks, left clicks now handled only by NIN_SELECT.
- Fixed LeftClickCommand double execute due to WM_LBUTTONUP was handled.
@punker76 punker76 added the Fix label Oct 16, 2024
@punker76 punker76 added this to the 2.0.1 milestone Oct 16, 2024
@punker76 punker76 merged commit 3dcb446 into hardcodet:develop Oct 16, 2024
1 check passed
@punker76
Copy link
Collaborator

@DarkPro1337 your changes have been merged, thanks for your contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants