Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gg-rewrite committed Apr 7, 2020
1 parent 4e127e3 commit 1e21b35
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
}
Expand Down

0 comments on commit 1e21b35

Please sign in to comment.