elgatosf / streamdeck-kit-ipad

Swift library for controlling Stream Deck hardware from an iPadOS application.
https://docs.elgato.com/ipad
MIT License
25 stars 2 forks source link

Set canBecomeKey to false on PassThroughWindow #45

Closed finnvoor closed 3 weeks ago

finnvoor commented 3 weeks ago

It's pretty common for apps to use UIWindowScene.keyWindow in order to get the view hierarchy from somewhere. When the stream deck simulator is shown, however, it becomes the key window. This was breaking some functionality in our app, as the stream deck window was returned instead of our main window.

Setting this to false should have no impact on functionality.