diff options
author | Vaxry <[email protected]> | 2024-05-03 01:27:59 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-05-03 01:52:05 +0100 |
commit | 27552976705e416ce481ca74d377578bcbc134e0 (patch) | |
tree | f878f05a1bffead708cdc7dc480e0b199860f163 /src/managers/ProtocolManager.cpp | |
parent | 7d49819b5ecb4cb69d3db405a658ba44c17fc8e6 (diff) | |
download | Hyprland-27552976705e416ce481ca74d377578bcbc134e0.tar.gz Hyprland-27552976705e416ce481ca74d377578bcbc134e0.zip |
virtual-pointer: move to new impl
Diffstat (limited to 'src/managers/ProtocolManager.cpp')
-rw-r--r-- | src/managers/ProtocolManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/managers/ProtocolManager.cpp b/src/managers/ProtocolManager.cpp index 122e2ff1..8ec2a35f 100644 --- a/src/managers/ProtocolManager.cpp +++ b/src/managers/ProtocolManager.cpp @@ -21,6 +21,7 @@ #include "../protocols/SessionLock.hpp" #include "../protocols/InputMethodV2.hpp" #include "../protocols/VirtualKeyboard.hpp" +#include "../protocols/VirtualPointer.hpp" CProtocolManager::CProtocolManager() { @@ -45,6 +46,7 @@ CProtocolManager::CProtocolManager() { PROTO::sessionLock = std::make_unique<CSessionLockProtocol>(&ext_session_lock_manager_v1_interface, 1, "SessionLock"); PROTO::ime = std::make_unique<CInputMethodV2Protocol>(&zwp_input_method_manager_v2_interface, 1, "IMEv2"); PROTO::virtualKeyboard = std::make_unique<CVirtualKeyboardProtocol>(&zwp_virtual_keyboard_manager_v1_interface, 1, "VirtualKeyboard"); + PROTO::virtualPointer = std::make_unique<CVirtualPointerProtocol>(&zwlr_virtual_pointer_manager_v1_interface, 2, "VirtualPointer"); // Old protocol implementations. // TODO: rewrite them to use hyprwayland-scanner. |