diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-27 23:44:23 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-27 23:44:23 +0100 |
| commit | c2cd718e894f5ba9bba2a8ef7783204e9f3b62ea (patch) | |
| tree | d4a9c8f4913fd918a7a7c8ed04454c78d8d33093 /src/managers/input/Touch.cpp | |
| parent | c21808dd2dfa85a50d256d975ebee213ab7804ae (diff) | |
ignore pointer constraints in touch
Diffstat (limited to 'src/managers/input/Touch.cpp')
| -rw-r--r-- | src/managers/input/Touch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/Touch.cpp b/src/managers/input/Touch.cpp index b5a52c05..b416e21b 100644 --- a/src/managers/input/Touch.cpp +++ b/src/managers/input/Touch.cpp @@ -11,7 +11,7 @@ void CInputManager::onTouchDown(wlr_touch_down_event* e) { PMONITOR = PMONITOR ? PMONITOR : g_pCompositor->m_pLastMonitor; - wlr_cursor_warp(g_pCompositor->m_sWLRCursor, g_pCompositor->m_sSeat.mouse->mouse, PMONITOR->vecPosition.x + e->x * PMONITOR->vecSize.x, PMONITOR->vecPosition.y + e->y * PMONITOR->vecSize.y); + wlr_cursor_warp(g_pCompositor->m_sWLRCursor, nullptr, PMONITOR->vecPosition.x + e->x * PMONITOR->vecSize.x, PMONITOR->vecPosition.y + e->y * PMONITOR->vecSize.y); refocus(); |
