mirror of
https://github.com/labwc/labwc.git
synced 2026-03-16 05:33:50 -04:00
touch.c: fix coding style
Mostly "foo* bar"-should-be-"foo *bar" warnings and space before brackets
This commit is contained in:
parent
bca2e9be60
commit
c153bbc0b2
1 changed files with 8 additions and 8 deletions
|
|
@ -58,11 +58,11 @@ touch_down(struct wl_listener *listener, void *data)
|
||||||
struct wlr_touch_down_event *event = data;
|
struct wlr_touch_down_event *event = data;
|
||||||
|
|
||||||
double nx, ny;
|
double nx, ny;
|
||||||
struct wlr_surface* surface =
|
struct wlr_surface *surface = touch_get_coords(seat, event->touch,
|
||||||
touch_get_coords(seat, event->touch, event->x, event->y, &nx, &ny);
|
event->x, event->y, &nx, &ny);
|
||||||
if (surface) {
|
if (surface) {
|
||||||
wlr_seat_touch_notify_down(seat->seat, surface, event->time_msec,
|
wlr_seat_touch_notify_down(seat->seat, surface,
|
||||||
event->touch_id, nx, ny);
|
event->time_msec, event->touch_id, nx, ny);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue