From e5dcbf73d881178c7f9c6306d287ed610d6efea1 Mon Sep 17 00:00:00 2001 From: riChar Date: Sun, 8 Jan 2023 23:35:24 +0800 Subject: Add "on" and "off" for the bind of switch (#1342) --- src/managers/KeybindManager.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/managers/KeybindManager.hpp') diff --git a/src/managers/KeybindManager.hpp b/src/managers/KeybindManager.hpp index 3923d571..b29b48b0 100644 --- a/src/managers/KeybindManager.hpp +++ b/src/managers/KeybindManager.hpp @@ -40,6 +40,8 @@ class CKeybindManager { bool onAxisEvent(wlr_pointer_axis_event*); bool onMouseEvent(wlr_pointer_button_event*); void onSwitchEvent(const std::string&); + void onSwitchOnEvent(const std::string&); + void onSwitchOffEvent(const std::string&); void addKeybind(SKeybind); void removeKeybind(uint32_t, const std::string&); -- cgit v1.2.3