mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05: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;
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue