diff options
author | Vaxry <[email protected]> | 2024-04-22 18:21:03 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-04-22 18:21:03 +0100 |
commit | 741c75d907916d760163f910e65186d410e27874 (patch) | |
tree | e0170d0418418b20dc9fc5f96bb3b0c3bc9e4c58 /src/managers/ProtocolManager.cpp | |
parent | dafc9ed4eb225e87d09cc92273dd390b8a15dbd0 (diff) | |
download | Hyprland-741c75d907916d760163f910e65186d410e27874.tar.gz Hyprland-741c75d907916d760163f910e65186d410e27874.zip |
gamma-control: move to new impl
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
-rw-r--r-- | src/managers/ProtocolManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 368c7bb2..96a0707b 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -8,6 +8,7 @@ #include "../protocols/RelativePointer.hpp" #include "../protocols/XDGDecoration.hpp" #include "../protocols/AlphaModifier.hpp" +#include "../protocols/GammaControl.hpp" #include "tearing-control-v1.hpp" #include "fractional-scale-v1.hpp" @@ -17,6 +18,7 @@ #include "relative-pointer-unstable-v1.hpp" #include "xdg-decoration-unstable-v1.hpp" #include "alpha-modifier-v1.hpp" +#include "wlr-gamma-control-unstable-v1.hpp" CProtocolManager::CProtocolManager() { @@ -28,6 +30,7 @@ CProtocolManager::CProtocolManager() { PROTO::relativePointer = std::make_unique<CRelativePointerProtocol>(&zwp_relative_pointer_manager_v1_interface, 1, "RelativePointer"); PROTO::xdgDecoration = std::make_unique<CXDGDecorationProtocol>(&zxdg_decoration_manager_v1_interface, 1, "XDGDecoration"); PROTO::alphaModifier = std::make_unique<CAlphaModifierProtocol>(&wp_alpha_modifier_v1_interface, 1, "AlphaModifier"); + PROTO::gamma = std::make_unique<CGammaControlProtocol>(&zwlr_gamma_control_manager_v1_interface, 1, "GammaControl"); // Old protocol implementations. // TODO: rewrite them to use hyprwayland-scanner. |