touch.c: fix coding style

Mostly "foo* bar"-should-be-"foo *bar" warnings and space before brackets
This commit is contained in:
Johan Malm 2022-03-28 20:50:18 +01:00
parent bca2e9be60
commit c153bbc0b2

View file

@ -58,11 +58,11 @@ touch_down(struct wl_listener *listener, void *data)
struct wlr_touch_down_event *event = data;
double nx, ny;
struct wlr_surface* surface =
touch_get_coords(seat, event->touch, event->x, event->y, &nx, &ny);
struct wlr_surface *surface = touch_get_coords(seat, event->touch,
event->x, event->y, &nx, &ny);
if (surface) {
wlr_seat_touch_notify_down(seat->seat, surface, event->time_msec,
event->touch_id, nx, ny);
wlr_seat_touch_notify_down(seat->seat, surface,
event->time_msec, event->touch_id, nx, ny);
}
}