summaryrefslogtreecommitdiff
path: root/src/managers/input
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2024-01-19 16:45:34 +0100
committervaxerski <vaxry@vaxry.net>2024-01-19 16:45:34 +0100
commit17339e0ae9ad01dcfdede76e8dfaf516a8cbb924 (patch)
tree70b46f5cebf550f48bf79e8b29470404e0d545c6 /src/managers/input
parent5eeec8860e2dc8ff80dda26243778b5ecc923ca2 (diff)
input: track exclusive LSes
ref #4465
Diffstat (limited to 'src/managers/input')
-rw-r--r--src/managers/input/InputManager.hpp29
1 files changed, 16 insertions, 13 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index eec45eff..e32e27f8 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -142,25 +142,28 @@ class CInputManager {
// Switches
std::list<SSwitchDevice> m_lSwitches;
- void newTabletTool(wlr_input_device*);
- void newTabletPad(wlr_input_device*);
- void focusTablet(STablet*, wlr_tablet_tool*, bool motion = false);
- void newIdleInhibitor(wlr_idle_inhibitor_v1*);
- void recheckIdleInhibitorStatus();
+ // Exclusive layer surfaces
+ std::deque<SLayerSurface*> m_dExclusiveLSes;
- void onSwipeBegin(wlr_pointer_swipe_begin_event*);
- void onSwipeEnd(wlr_pointer_swipe_end_event*);
- void onSwipeUpdate(wlr_pointer_swipe_update_event*);
+ void newTabletTool(wlr_input_device*);
+ void newTabletPad(wlr_input_device*);
+ void focusTablet(STablet*, wlr_tablet_tool*, bool motion = false);
+ void newIdleInhibitor(wlr_idle_inhibitor_v1*);
+ void recheckIdleInhibitorStatus();
- SSwipeGesture m_sActiveSwipe;
+ void onSwipeBegin(wlr_pointer_swipe_begin_event*);
+ void onSwipeEnd(wlr_pointer_swipe_end_event*);
+ void onSwipeUpdate(wlr_pointer_swipe_update_event*);
- SKeyboard* m_pActiveKeyboard = nullptr;
+ SSwipeGesture m_sActiveSwipe;
- CTimer m_tmrLastCursorMovement;
+ SKeyboard* m_pActiveKeyboard = nullptr;
- CInputMethodRelay m_sIMERelay;
+ CTimer m_tmrLastCursorMovement;
- void updateKeyboardsLeds(wlr_input_device* pKeyboard);
+ CInputMethodRelay m_sIMERelay;
+
+ void updateKeyboardsLeds(wlr_input_device* pKeyboard);
// for shared mods
uint32_t accumulateModsFromAllKBs();