diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-28 19:02:30 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-28 19:02:30 +0000 |
| commit | 4d3f2ca96b006fe9fd27de7f1bd4d317ad732762 (patch) | |
| tree | 739140dd46912a482aed555b3ed51e53cd92922b /src/managers/input/Touch.cpp | |
| parent | 99b7d53817c111fb66063d60f4479ac6e06402e5 (diff) | |
minor fixes to touch handling
Diffstat (limited to 'src/managers/input/Touch.cpp')
| -rw-r--r-- | src/managers/input/Touch.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/managers/input/Touch.cpp b/src/managers/input/Touch.cpp index b69b4f7b..70bae3b2 100644 --- a/src/managers/input/Touch.cpp +++ b/src/managers/input/Touch.cpp @@ -15,6 +15,13 @@ void CInputManager::onTouchDown(wlr_touch_down_event* e) { refocus(); + if (m_ecbClickBehavior == CLICKMODE_KILL) { + wlr_pointer_button_event e; + e.state = WLR_BUTTON_PRESSED; + g_pInputManager->processMouseDownKill(&e); + return; + } + m_bLastInputTouch = true; m_sTouchData.touchFocusWindow = m_pFoundWindowToFocus; |
