-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Event::MouseLeave for windows (#821)
* Add windows specific mouse_leave event on druid shell The event notifies the app that the cursor is no longer hovering the application window. * Add MouseLeft event to druid When the MouseLeft is propagated, druid automatically clears is_hot. * Handle error for TrackMouseEvent * Rename MouseLeft -> MouseLeave * Fix comment in WM_MOUSEMOVE * Some smaller changes from code review * Only set has_mouse_focus when TrackMouseEvent succeeds.
- Loading branch information
1 parent
90965bb
commit f3a755f
Showing
5 changed files
with
74 additions
and
0 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
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
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
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
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