mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
Fixed some warnings and added code to close active windows on disable (#2915)
This commit is contained in:
@@ -279,6 +279,9 @@ public:
|
||||
m_enabled = false;
|
||||
// Log telemetry
|
||||
Trace::EnableKeyboardManager(false);
|
||||
// Close active windows
|
||||
CloseActiveEditKeyboardWindow();
|
||||
CloseActiveEditShortcutsWindow();
|
||||
// Stop keyboard hook
|
||||
stop_lowlevel_keyboard_hook();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user