minor fixes to touch handling

This commit is contained in:
vaxerski
2023-02-28 19:02:30 +00:00
parent 99b7d53817
commit 4d3f2ca96b
2 changed files with 10 additions and 8 deletions

View File

@@ -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;