Is there a way to handle when a window is unfocuse...
# compose-desktop
c
Is there a way to handle when a window is unfocused?
z
LocalWindowInfo.current.isWindowFocused?
c
No way to handle this via some callback?
something like onBlur {}
z
Yes, this property is backed by a mutable state, so the same way you can observe any snapshot state in compose:
snapshotFlow
c
Thanks 🙂