diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2023-04-03 17:01:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-03 17:01:05 +0100 |
| commit | 0a099ca2ab8e4b5da01189202740bbc4bbe81f5b (patch) | |
| tree | db8a0ea733d92ed236353261a42a7c3906b960eb /src/managers | |
| parent | e6211eef00a96c0dc7f8c06a6a151f5485977a0d (diff) | |
Hyprland Screencopy impl (#1800)
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
Diffstat (limited to 'src/managers')
| -rw-r--r-- | src/managers/ProtocolManager.cpp | 1 | ||||
| -rw-r--r-- | src/managers/ProtocolManager.hpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 6271b0ca..d9aa299f 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -4,4 +4,5 @@ CProtocolManager::CProtocolManager() { m_pToplevelExportProtocolManager = std::make_unique<CToplevelExportProtocolManager>(); m_pFractionalScaleProtocolManager = std::make_unique<CFractionalScaleProtocolManager>(); m_pTextInputV1ProtocolManager = std::make_unique<CTextInputV1ProtocolManager>(); + m_pScreencopyProtocolManager = std::make_unique<CScreencopyProtocolManager>(); }
\ No newline at end of file diff --git a/src/managers/ProtocolManager.hpp b/src/managers/ProtocolManager.hpp index 6160176d..340785ec 100644 --- a/src/managers/ProtocolManager.hpp +++ b/src/managers/ProtocolManager.hpp @@ -4,6 +4,7 @@ #include "../protocols/ToplevelExport.hpp" #include "../protocols/FractionalScale.hpp" #include "../protocols/TextInputV1.hpp" +#include "../protocols/Screencopy.hpp" class CProtocolManager { public: @@ -12,6 +13,7 @@ class CProtocolManager { std::unique_ptr<CToplevelExportProtocolManager> m_pToplevelExportProtocolManager; std::unique_ptr<CFractionalScaleProtocolManager> m_pFractionalScaleProtocolManager; std::unique_ptr<CTextInputV1ProtocolManager> m_pTextInputV1ProtocolManager; + std::unique_ptr<CScreencopyProtocolManager> m_pScreencopyProtocolManager; }; inline std::unique_ptr<CProtocolManager> g_pProtocolManager; |
