News for hackers. Stuff that matters.
Re:Show HN: Phoenix 2.6 – a macOS window and app manager scr... by mafredri on Monday April 09, 2018 @02:02PM (#16795348)
I'm not entirely sure what you mean with performance, macOS is pretty sluggish at reacting to new monitors anyway.

That said, Phoenix has an event for when the screens change, you can use it to react, enumerate the new screens, etc. Something like:

Event.on('screensDidChange', () => { const sizes = Screen.all().map(s => s.flippedVisibleFrame()); })

Hope that helps!

There are no comments on this comment yet.