From 90e1411315065ead5b5a7873be4109bdfb9f5470 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 30 Apr 2024 16:32:05 +0100 Subject: session-lock: move to new impl --- src/managers/ProtocolManager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/managers/ProtocolManager.cpp') diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index b721f17a..580622b0 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -18,6 +18,7 @@ #include "../protocols/OutputPower.hpp" #include "../protocols/XDGActivation.hpp" #include "../protocols/IdleNotify.hpp" +#include "../protocols/SessionLock.hpp" #include "tearing-control-v1.hpp" #include "fractional-scale-v1.hpp" @@ -37,6 +38,7 @@ #include "wlr-output-power-management-unstable-v1.hpp" #include "xdg-activation-v1.hpp" #include "ext-idle-notify-v1.hpp" +#include "ext-session-lock-v1.hpp" CProtocolManager::CProtocolManager() { @@ -58,6 +60,7 @@ CProtocolManager::CProtocolManager() { PROTO::outputPower = std::make_unique(&zwlr_output_power_manager_v1_interface, 1, "OutputPower"); PROTO::activation = std::make_unique(&xdg_activation_v1_interface, 1, "XDGActivation"); PROTO::idle = std::make_unique(&ext_idle_notifier_v1_interface, 1, "IdleNotify"); + PROTO::sessionLock = std::make_unique(&ext_session_lock_manager_v1_interface, 1, "SessionLock"); // Old protocol implementations. // TODO: rewrite them to use hyprwayland-scanner. -- cgit v1.2.3