Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cursor events on screen lock/unlock
After the scene graph refactor, node_at_coords no longer return the lock surface after the screen is locked, thereby cursor_rebase_all in handle_surface_map won't work. This commit make node_at_coords return lock surface when locked. I also found that the cursor would disappear after screen is unlocked, thereby adding a cursor_rebase_all in handle_unlock.
- Loading branch information