relative_pointer: code formatting fixes

This commit is contained in:
random human 2018-10-01 20:33:21 +05:30 committed by Alex Maese
parent d020344675
commit 6fa1777f94
5 changed files with 44 additions and 48 deletions

View file

@ -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;