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

Button release action #2399

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Button release action #2399

merged 2 commits into from
Aug 14, 2023

Conversation

KosmX
Copy link
Contributor

@KosmX KosmX commented Aug 13, 2023

Allow on-click-release actions for most buttons, this will execute the action when the button is released.

This is a workaround for #1968 (I believe the bug is caused by an unexpected focus loss while holding the button)

at least, it works for me.
By doing "on-click-release": "swaync-client -t -sw", I could fix the wrong location click bug without a sleep longer than the click.

And I think, on-release will have other uses too!

@Alexays Alexays merged commit eb74623 into Alexays:master Aug 14, 2023
@Alexays
Copy link
Owner

Alexays commented Aug 14, 2023

Nice thx!

@KosmX
Copy link
Contributor Author

KosmX commented Aug 14, 2023

I've updated the configuration wiki page to include this action.

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