pilotmoon / Scroll-Reverser

Per-device scrolling prefs on macOS.

Home Page:https://pilotmoon.com/scrollreverser/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scroll reverser closes when laptop goes to sleep

ijhua opened this issue · comments

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.

+1
Just commenting that I also have this issue

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