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

Scroll reverser closes when laptop goes to sleep #150

Open
ijhua opened this issue Aug 18, 2022 · 2 comments
Open

Scroll reverser closes when laptop goes to sleep #150

ijhua opened this issue Aug 18, 2022 · 2 comments
Labels

Comments

@ijhua
Copy link

ijhua commented Aug 18, 2022

Every time I close my laptop lid and come back, Scroll Reverser closes itself and I have to open it again.

I've also enabled start at login, but it doesn't start by itself.

@myriasofo
Copy link

+1
Just commenting that I also have this issue

@pilotmoon
Copy link
Owner

Scroll Reverser does quit and restart itself after waking from sleep, as a workaround to a macOS bug where macOS can stop sending events after it awakes. It sounds like it is doping the quitting but not the restarting.

This is the part of the code that does the relaunching: https://github.com/pilotmoon/Scroll-Reverser/blob/master/AppDelegate.m#L94-L112

@pilotmoon pilotmoon added the bug label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants