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

Add --no-timeout #83

Merged
merged 1 commit into from
Jul 24, 2023
Merged

Add --no-timeout #83

merged 1 commit into from
Jul 24, 2023

Conversation

Papierkorb
Copy link
Contributor

Hello!

I recently found this tool to hide the mouse cursor if I'm using my notebooks touch screen. And it works great!

However, my small gripe is that I need to set a timeout for the cursor to be hidden anyway. Thus, I've added the --no-timeout option which allows the user to disable the timeout functionality entirely.

The defaults are unchanged, so existing users shouldn't notice much difference to their work flows :)

Cheers!

Copy link
Owner

@Airblader Airblader left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I just have two minor style nitpicks. Could you please take care of them & ideally squash the commits? Thanks so much!

Please do drop a comment when you're done so I get notified.

src/event.c Outdated Show resolved Hide resolved
src/event.c Outdated Show resolved Hide resolved
This option allows to disable the timeout completely.  This is useful
when used in combination with --touch to only hide the mouse cursor if
a touch screen has been used, but never when the mouse has been moved.
@Papierkorb
Copy link
Contributor Author

Pushed with the requested changes

Copy link
Owner

@Airblader Airblader left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@Airblader Airblader merged commit 5260108 into Airblader:master Jul 24, 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.

2 participants