MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / handle_pointer_motion

Method handle_pointer_motion

src/core/seat/pointer.cpp:315–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void wf::pointer_t::handle_pointer_motion(wlr_pointer_motion_event *ev,
316 input_event_processing_mode_t mode)
317{
318 /* XXX: maybe warp directly? */
319 wlr_cursor_move(seat->priv->cursor->cursor, &ev->pointer->base, ev->delta_x, ev->delta_y);
320 update_cursor_position(ev->time_msec);
321}
322
323void wf::pointer_t::handle_pointer_motion_absolute(
324 wlr_pointer_motion_absolute_event *ev, input_event_processing_mode_t mode)

Callers 1

send_motionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected