diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-04-29 17:42:07 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-04-29 17:50:07 +0100 |
| commit | f2b03e9679bc1a091fecffd98b50a4179b5c7d43 (patch) | |
| tree | c86033d3436b0354db17e9209633ac7a6594631f /src/managers/input/Touch.cpp | |
| parent | 86133983a94a6ad52933e0577b6098dd8e98ed8c (diff) | |
ext-idle-notify: move to new impl
Diffstat (limited to 'src/managers/input/Touch.cpp')
| -rw-r--r-- | src/managers/input/Touch.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/input/Touch.cpp b/src/managers/input/Touch.cpp index 302d9e1d..a3f28ac0 100644 --- a/src/managers/input/Touch.cpp +++ b/src/managers/input/Touch.cpp @@ -1,6 +1,7 @@ #include "InputManager.hpp" #include "../../Compositor.hpp" #include "../../config/ConfigValue.hpp" +#include "../../protocols/IdleNotify.hpp" void CInputManager::onTouchDown(wlr_touch_down_event* e) { static auto PSWIPETOUCH = CConfigValue<Hyprlang::INT>("gestures:workspace_swipe_touch"); @@ -83,7 +84,7 @@ void CInputManager::onTouchDown(wlr_touch_down_event* e) { wlr_seat_touch_notify_down(g_pCompositor->m_sSeat.seat, m_sTouchData.touchFocusSurface, e->time_msec, e->touch_id, local.x, local.y); - g_pCompositor->notifyIdleActivity(); + PROTO::idle->onActivity(); } void CInputManager::onTouchUp(wlr_touch_up_event* e) { |
