diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-06-09 22:28:51 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-06-10 00:06:42 +0200 |
| commit | 1423707dbefc0329e80895451903a77ab684f7ea (patch) | |
| tree | 046e0592451a0470387a0ac649535d7263582e9e /src/managers/ProtocolManager.hpp | |
| parent | 121c6ac3eae1601a1498e52a9be7030ebfed242c (diff) | |
output: remove wl_output globals for mirrored displays
ref #6387
Diffstat (limited to 'src/managers/ProtocolManager.hpp')
| -rw-r--r-- | src/managers/ProtocolManager.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.hpp b/src/managers/ProtocolManager.hpp index 9af7b928..4f668b46 100644 --- a/src/managers/ProtocolManager.hpp +++ b/src/managers/ProtocolManager.hpp @@ -5,6 +5,8 @@ #include "../protocols/TextInputV1.hpp" #include "../protocols/GlobalShortcuts.hpp" #include "../protocols/Screencopy.hpp" +#include "../helpers/memory/WeakPtr.hpp" +#include <unordered_map> class CProtocolManager { public: @@ -15,6 +17,11 @@ class CProtocolManager { std::unique_ptr<CTextInputV1ProtocolManager> m_pTextInputV1ProtocolManager; std::unique_ptr<CGlobalShortcutsProtocolManager> m_pGlobalShortcutsProtocolManager; std::unique_ptr<CScreencopyProtocolManager> m_pScreencopyProtocolManager; + + private: + std::unordered_map<std::string, CHyprSignalListener> m_mModeChangeListeners; + + void onMonitorModeChange(CMonitor* pMonitor); }; inline std::unique_ptr<CProtocolManager> g_pProtocolManager; |
