diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-29 17:42:07 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-29 17:50:07 +0100 |
| commit | f2b03e9679bc1a091fecffd98b50a4179b5c7d43 (patch) | |
| tree | c86033d3436b0354db17e9209633ac7a6594631f /src/managers/ProtocolManager.cpp | |
| parent | 86133983a94a6ad52933e0577b6098dd8e98ed8c (diff) | |
ext-idle-notify: 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 b00e111e..b721f17a 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -17,6 +17,7 @@ #include "../protocols/PointerConstraints.hpp" #include "../protocols/OutputPower.hpp" #include "../protocols/XDGActivation.hpp" +#include "../protocols/IdleNotify.hpp" #include "tearing-control-v1.hpp" #include "fractional-scale-v1.hpp" @@ -35,6 +36,7 @@ #include "pointer-constraints-unstable-v1.hpp" #include "wlr-output-power-management-unstable-v1.hpp" #include "xdg-activation-v1.hpp" +#include "ext-idle-notify-v1.hpp" CProtocolManager::CProtocolManager() { @@ -55,6 +57,7 @@ CProtocolManager::CProtocolManager() { PROTO::constraints = std::make_unique<CPointerConstraintsProtocol>(&zwp_pointer_constraints_v1_interface, 1, "PointerConstraints"); PROTO::outputPower = std::make_unique<COutputPowerProtocol>(&zwlr_output_power_manager_v1_interface, 1, "OutputPower"); PROTO::activation = std::make_unique<CXDGActivationProtocol>(&xdg_activation_v1_interface, 1, "XDGActivation"); + PROTO::idle = std::make_unique<CIdleNotifyProtocol>(&ext_idle_notifier_v1_interface, 1, "IdleNotify"); // Old protocol implementations. // TODO: rewrite them to use hyprwayland-scanner. |
