-
This is important when using a touchscreen or stylus instead of a mouse or touchpad. If the cursor only gets hidden and the focus stays the same, the window will still send hover events to the UI element under the cursor causing unexpected distractions while interacting with the touchscreen. Fix this by emitting a visibility-changed signal from the cursor tracker which then triggers a focus surface sync and always set the focus surface to NULL when it's synced while the cursor is hidden. !448
a2a8f0cd