diff options
author | vaxerski <[email protected]> | 2022-03-24 15:57:46 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-03-24 15:57:46 +0100 |
commit | 97501fc0340228c6aa9be51379d86906f2893511 (patch) | |
tree | bd1f0bebcb8dd61a9da9c6d8c649cca6349acbff /src/events | |
parent | 411a050169c1423ed5c572369cbd3c15dc9f540e (diff) | |
download | Hyprland-97501fc0340228c6aa9be51379d86906f2893511.tar.gz Hyprland-97501fc0340228c6aa9be51379d86906f2893511.zip |
update for latest wlroots
Diffstat (limited to 'src/events')
-rw-r--r-- | src/events/Devices.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/events/Devices.cpp b/src/events/Devices.cpp index ab259f43..330cc2b9 100644 --- a/src/events/Devices.cpp +++ b/src/events/Devices.cpp @@ -24,7 +24,7 @@ void Events::listener_keyboardDestroy(wl_listener* listener, void* data) { void Events::listener_keyboardKey(wl_listener* listener, void* data) { SKeyboard* PKEYBOARD = wl_container_of(listener, PKEYBOARD, listen_keyboardKey); - g_pInputManager->onKeyboardKey((wlr_event_keyboard_key*)data, PKEYBOARD); + g_pInputManager->onKeyboardKey((wlr_keyboard_key_event*)data, PKEYBOARD); } void Events::listener_keyboardMod(wl_listener* listener, void* data) { @@ -37,19 +37,19 @@ void Events::listener_mouseFrame(wl_listener* listener, void* data) { } void Events::listener_mouseMove(wl_listener* listener, void* data) { - g_pInputManager->onMouseMoved((wlr_event_pointer_motion*)data); + g_pInputManager->onMouseMoved((wlr_pointer_motion_event*)data); } void Events::listener_mouseMoveAbsolute(wl_listener* listener, void* data) { - g_pInputManager->onMouseWarp((wlr_event_pointer_motion_absolute*)data); + g_pInputManager->onMouseWarp((wlr_pointer_motion_absolute_event*)data); } void Events::listener_mouseButton(wl_listener* listener, void* data) { - g_pInputManager->onMouseButton((wlr_event_pointer_button*)data); + g_pInputManager->onMouseButton((wlr_pointer_button_event*)data); } void Events::listener_mouseAxis(wl_listener* listener, void* data) { - const auto E = (wlr_event_pointer_axis*)data; + const auto E = (wlr_pointer_axis_event*)data; wlr_seat_pointer_notify_axis(g_pCompositor->m_sSeat.seat, E->time_msec, E->orientation, E->delta, E->delta_discrete, E->source); } |