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

tray: prevent widget buttons from piling up #788

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

cmeissl
Copy link
Contributor

@cmeissl cmeissl commented Nov 19, 2024

each call to set_menu_widget registered a new event handler, resulting in multiple popups to be created. each popup tried to issue a grab with the same serial.
prevent this by disconnecting any previously registered handler.

each call to set_menu_widget registered a new event handler,
resulting in multiple popups to be created. each popup tried
to issue a grab with the same serial.
prevent this by disconnecting any previously registered handler.
Copy link
Owner

@JakeStanger JakeStanger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks

@JakeStanger JakeStanger mentioned this pull request Nov 19, 2024
@JakeStanger JakeStanger merged commit ce48fc9 into JakeStanger:master Nov 19, 2024
9 checks passed
@cmeissl cmeissl deleted the fix/duplicate_tray_popups branch November 19, 2024 22:16
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.

2 participants