Handle resolution changes

#2 · closed · 3 comments

View on GitHub ↗

robrix

e.g. when going into clamshell mode. c/o @JoeOsborn

Comments

robrix

Need to store the index of the last active screen to use with the new workflow. And watch for the screens did change notification and reset it to 0 when that hits.

robrix

This also introduced a bug where ⌘`/⇧⌘` attempts a (x % 0) and crashes.

robrix

This has all been fixed.