[idd] ensure the only active monitor is the IDD

This commit is contained in:
Geoffrey McRae committed 2026-07-23 09:44:00 +10:00
1 parent 58e0cf340d
commit 6f2a81edf8
5 files changed
+256 -7

No files matched your search

+4 -1
View File
@@ -39,10 +39,12 @@ class CNotifyWindow : public CWindow
std::unique_ptr<CConfigWindow> m_config;
std::function<void()> m_onSettingChange;
std::function<bool()> m_onDisplayChange;
LRESULT onNotifyIcon(UINT uEvent, WORD wIconId, int x, int y);
void registerIcon();
void handleGPUNotification(bool hasGPU);
void scheduleDisplayCheck(UINT delay);
virtual LRESULT handleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam) override;
virtual LRESULT onCreate() override;
@@ -74,4 +76,5 @@ public:
void close();
void onSettingChange(std::function<void()> func) { m_onSettingChange = std::move(func); }
};
void onDisplayChange(std::function<bool()> func);
};