feat: Add 'mouse-enter' and 'mouse-leave' Tray events for Windows. (#40072)

This commit is contained in:
Tomasz 2023-10-10 01:56:38 +02:00 committed by GitHub
parent a31deea1ba
commit 925e4f7d74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 125 additions and 2 deletions

View file

@ -50,6 +50,8 @@ class NotifyIcon : public TrayIcon {
// Handles a mouse move event from the user.
void HandleMouseMoveEvent(int modifiers);
void HandleMouseEntered(int modifiers);
void HandleMouseExited(int modifiers);
// Re-creates the status tray icon now after the taskbar has been created.
void ResetIcon();