From 1e21b359fb7530f226e4c0e5d75f8d6a5befaabd Mon Sep 17 00:00:00 2001 From: Some Chinese Guy Date: Tue, 7 Apr 2020 11:49:10 +0300 Subject: [PATCH] fixed formatting --- main.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/main.c b/main.c index 335e7d6..152ad87 100644 --- a/main.c +++ b/main.c @@ -231,9 +231,10 @@ static const struct wl_keyboard_listener keyboard_listener = { .modifiers = noop, }; -static void touch_handle_down(void *data, struct wl_touch *touch, uint32_t serial, - uint32_t time, struct wl_surface *surface, int32_t id, - wl_fixed_t x, wl_fixed_t y) { +static void touch_handle_down(void *data, struct wl_touch *touch, + uint32_t serial, uint32_t time, + struct wl_surface *surface, int32_t id, + wl_fixed_t x, wl_fixed_t y) { struct slurp_seat *seat = data; if (!seat->already_touched) { seat->already_touched = true; @@ -250,22 +251,22 @@ static void touch_clear_state(struct slurp_seat *seat) { } static void touch_handle_up(void *data, struct wl_touch *touch, uint32_t serial, - uint32_t time, int32_t id) { + uint32_t time, int32_t id) { struct slurp_seat *seat = data; handle_selection_end(seat); touch_clear_state(seat); } -static void touch_handle_motion(void *data, struct wl_touch *touch, uint32_t time, - int32_t id, wl_fixed_t x, wl_fixed_t y) { +static void touch_handle_motion(void *data, struct wl_touch *touch, + uint32_t time, int32_t id, wl_fixed_t x, + wl_fixed_t y) { struct slurp_seat *seat = data; move_seat(seat, x, y); handle_active_selection_motion(seat); seat_set_outputs_dirty(seat); } -static void touch_handle_cancel(void *data, struct wl_touch *touch) -{ +static void touch_handle_cancel(void *data, struct wl_touch *touch) { struct slurp_seat *seat = data; touch_clear_state(seat); }