-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
input: allow PointerTarget to handle focus replace
this adds a new function to PointerTarget that is called when the focus is replaced. this allows implementing a nested stack of focus targets without sacrificing grab guarantees. the default impl will do the same like the old behavior, so call leave on the previous target and enter on the new one.
- Loading branch information
Showing
1 changed file
with
30 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters