[idd] helper: clean up exclusive monitor timer and respect setting

This commit is contained in:
Quantum
2026-07-18 15:09:25 -04:00
committed by Geoffrey McRae
parent f3d5c7e185
commit f8d9574709
3 changed files with 23 additions and 13 deletions

View File

@@ -39,7 +39,7 @@ class CNotifyWindow : public CWindow
std::unique_ptr<CConfigWindow> m_config;
std::function<void()> m_onSettingChange;
std::function<bool()> m_onDisplayChange;
std::function<bool()> m_onEnsureOnlyDisplay;
LRESULT onNotifyIcon(UINT uEvent, WORD wIconId, int x, int y);
void registerIcon();
@@ -76,5 +76,5 @@ public:
void close();
void onSettingChange(std::function<void()> func) { m_onSettingChange = std::move(func); }
void onDisplayChange(std::function<bool()> func);
void onEnsureOnlyDisplay(std::function<bool()> func);
};