fix(pointing): Temp layer threading protection. (#2729)

fix(pointing): Temp layer threading protection.

Ensure all layer operations occur on the system work queue thread.

Fixes: #2719

fix(pointing): Handle layer events to disable events

Make the temp layer input processor propely handle layers getting
deactivated externally before the temp layer timeout.

Co-authored-by: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com>
This commit is contained in:
Pete Johanson
2025-02-28 18:37:55 -07:00
committed by GitHub
parent 21f54e7238
commit 1e3e62c13d
10 changed files with 219 additions and 18 deletions

View File

@@ -1,6 +1,7 @@
Dispatching handle_position_state_changed
Position excluded, continuing
layer_changed: layer 1 state 1
Dispatching handle_layer_state_changed
movement_set: Mouse movement set to -1/0
scroll_set: Mouse scroll set to 0/0
movement_set: Mouse movement set to 0/0
@@ -17,5 +18,6 @@ Dispatching handle_position_state_changed
Dispatching handle_position_state_changed
Position not excluded, deactivating layer
layer_changed: layer 1 state 0
Dispatching handle_layer_state_changed
Position excluded, continuing
Dispatching handle_position_state_changed