mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-22 00:03:48 +00:00
FZ: fix currently selected zone tracking (#8797)
This commit is contained in:
parent
4f594c92e8
commit
16e4c34d69
@ -210,11 +210,11 @@ private:
|
||||
//contains the non localized key of the powertoy
|
||||
std::wstring app_key;
|
||||
|
||||
static inline FancyZonesModule* s_instance;
|
||||
static inline HHOOK s_llKeyboardHook;
|
||||
static inline FancyZonesModule* s_instance = nullptr;
|
||||
static inline HHOOK s_llKeyboardHook = nullptr;
|
||||
|
||||
std::vector<HWINEVENTHOOK> m_staticWinEventHooks;
|
||||
HWINEVENTHOOK m_objectLocationWinEventHook;
|
||||
HWINEVENTHOOK m_objectLocationWinEventHook = nullptr;
|
||||
|
||||
static LRESULT CALLBACK LowLevelKeyboardProc(int nCode, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
@ -39,7 +39,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
inline static HHOOK hHook;
|
||||
inline static HHOOK hHook = nullptr;
|
||||
inline static std::function<void(bool)> callback;
|
||||
|
||||
static LRESULT CALLBACK GenericKeyHookProc(int nCode, WPARAM wParam, LPARAM lParam)
|
||||
|
Loading…
Reference in New Issue
Block a user