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

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2026-07-23 09:44:00 +10:00
1 parent cc6a64c4fc
commit 90271b936e
3 files changed
+23 -13

No files matched your search

+2 -2
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);
};