diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-24 18:31:45 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-24 18:31:45 +0100 |
| commit | 5503d99778a2c62136ea54db866ddc024fc60c2e (patch) | |
| tree | 30a0e4fc9da9028b513755846a2ea792eab4fb4e | |
| parent | a4f79dcb1101c5cbde5f503417c97f69cb24651e (diff) | |
bring back mouse request
| -rw-r--r-- | src/events/Devices.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/events/Devices.cpp b/src/events/Devices.cpp index 330cc2b9..78b987dc 100644 --- a/src/events/Devices.cpp +++ b/src/events/Devices.cpp @@ -58,8 +58,8 @@ void Events::listener_requestMouse(wl_listener* listener, void* data) { const auto EVENT = (wlr_seat_pointer_request_set_cursor_event*)data; // TODO: crashes sometimes - //if (EVENT->seat_client == g_pCompositor->m_sSeat.seat->pointer_state.focused_client) - // wlr_cursor_set_surface(g_pCompositor->m_sWLRCursor, EVENT->surface, EVENT->hotspot_x, EVENT->hotspot_y); + if (EVENT->seat_client == g_pCompositor->m_sSeat.seat->pointer_state.focused_client) + wlr_cursor_set_surface(g_pCompositor->m_sWLRCursor, EVENT->surface, EVENT->hotspot_x, EVENT->hotspot_y); } void Events::listener_newInput(wl_listener* listener, void* data) { |
