Call this function to clear focus from the currently focused component, and set the focus to the root focus modifier.
What is the "root focus modifier" on desktop? I have key events I want to always receive while my window is focused, but this appears to be impossible if
FocusManager.clearFocus()
is ever invoked. I end up in the situation where no composables in my window are focused, and therefore nothing receives key events.
rob42
07/04/2024, 2:57 PM
Wondering if I'm missing a trick here, and there's some way of receiving keyboard events at the root level?