diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-09-09 19:08:04 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-09-09 19:08:11 +0200 |
| commit | f663fa209ce72571bd4c551a19757ccd58b3fb7f (patch) | |
| tree | ad6e3c2c409df33cb49583f83c7661434dfc78ce /src/managers/input/Touch.cpp | |
| parent | 9370c7aa8a0f43b4471626f95013e1bf55539c19 (diff) | |
minor code styling fixes
Diffstat (limited to 'src/managers/input/Touch.cpp')
| -rw-r--r-- | src/managers/input/Touch.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/managers/input/Touch.cpp b/src/managers/input/Touch.cpp index daf34200..5d97369f 100644 --- a/src/managers/input/Touch.cpp +++ b/src/managers/input/Touch.cpp @@ -2,7 +2,6 @@ #include "../../Compositor.hpp" void CInputManager::onTouchDown(wlr_touch_down_event* e) { - wlr_cursor_warp(g_pCompositor->m_sWLRCursor, g_pCompositor->m_sSeat.mouse->mouse, g_pCompositor->m_pLastMonitor->vecPosition.x + e->x * g_pCompositor->m_pLastMonitor->vecSize.x, g_pCompositor->m_pLastMonitor->vecPosition.y + e->y * g_pCompositor->m_pLastMonitor->vecSize.y); refocus(); @@ -26,7 +25,6 @@ void CInputManager::onTouchDown(wlr_touch_down_event* e) { } void CInputManager::onTouchUp(wlr_touch_up_event* e){ - if (m_sTouchData.touchFocusWindow) { wlr_seat_touch_notify_up(g_pCompositor->m_sSeat.seat, e->time_msec, e->touch_id); } |
