diff options
author | vaxerski <[email protected]> | 2022-09-22 21:14:02 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-09-22 21:14:02 +0100 |
commit | e5d143b2386c3773f6fb5176752a1b381d3ee7a5 (patch) | |
tree | 6deb7fb7eacdf29758a7a962c365f1038ca0ff37 /src/events/Devices.cpp | |
parent | 37f2e1ddbe4020e59395b2f364c5a6e7d6db550a (diff) | |
download | Hyprland-e5d143b2386c3773f6fb5176752a1b381d3ee7a5.tar.gz Hyprland-e5d143b2386c3773f6fb5176752a1b381d3ee7a5.zip |
support more wlr_cursor events
Diffstat (limited to 'src/events/Devices.cpp')
-rw-r--r-- | src/events/Devices.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/events/Devices.cpp b/src/events/Devices.cpp index b8aeae39..8dea879f 100644 --- a/src/events/Devices.cpp +++ b/src/events/Devices.cpp @@ -206,4 +206,16 @@ void Events::listener_touchEnd(wl_listener* listener, void* data) { void Events::listener_touchUpdate(wl_listener* listener, void* data) { g_pInputManager->onTouchMove((wlr_touch_motion_event*)data); +} + +void Events::listener_touchFrame(wl_listener* listener, void* data) { + wlr_seat_touch_notify_frame(g_pCompositor->m_sSeat.seat); +} + +void Events::listener_holdBegin(wl_listener* listener, void* data) { + g_pInputManager->onPointerHoldBegin((wlr_pointer_hold_begin_event*)data); +} + +void Events::listener_holdEnd(wl_listener* listener, void* data) { + g_pInputManager->onPointerHoldEnd((wlr_pointer_hold_end_event*)data); }
\ No newline at end of file |