mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-24 06:59:45 -05:00
relative_pointer: code formatting fixes
This commit is contained in:
parent
d020344675
commit
6fa1777f94
5 changed files with 44 additions and 48 deletions
|
|
@ -310,8 +310,8 @@ void roots_cursor_handle_motion(struct roots_cursor *cursor,
|
|||
double dx = event->delta_x;
|
||||
double dy = event->delta_y;
|
||||
|
||||
wlr_seat_pointer_notify_relative_motion(cursor->seat->seat, (uint64_t)
|
||||
event->time_msec, dx, dy, dx, dy);
|
||||
wlr_seat_pointer_notify_relative_motion(cursor->seat->seat,
|
||||
(uint64_t)event->time_msec, dx, dy, dx, dy);
|
||||
|
||||
if (cursor->active_constraint) {
|
||||
struct roots_view *view = cursor->pointer_view->view;
|
||||
|
|
@ -354,8 +354,8 @@ void roots_cursor_handle_motion_absolute(struct roots_cursor *cursor,
|
|||
|
||||
double dx = lx - cursor->cursor->x;
|
||||
double dy = ly - cursor->cursor->y;
|
||||
wlr_seat_pointer_notify_relative_motion(cursor->seat->seat, (uint64_t)
|
||||
event->time_msec, dx, dy, dx, dy);
|
||||
wlr_seat_pointer_notify_relative_motion(cursor->seat->seat,
|
||||
(uint64_t)event->time_msec, dx, dy, dx, dy);
|
||||
|
||||
if (cursor->pointer_view) {
|
||||
struct roots_view *view = cursor->pointer_view->view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue