From 8f5ec5e2bb6ca0574dc9c6a292b9fac55d189d87 Mon Sep 17 00:00:00 2001 From: Ryan Walklin Date: Sat, 15 Dec 2018 14:57:12 +1100 Subject: Fix style nits --- rootston/bindings.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'rootston') diff --git a/rootston/bindings.c b/rootston/bindings.c index d9813cbc..9fdbb33b 100644 --- a/rootston/bindings.c +++ b/rootston/bindings.c @@ -2,9 +2,7 @@ #include #include #include - #include - #include "rootston/bindings.h" static bool outputs_enabled = true; @@ -44,7 +42,8 @@ static void double_fork_shell_cmd(const char *shell_cmd) { wlr_log(WLR_ERROR, "first child failed to fork command"); } -void execute_binding_command (struct roots_seat *seat, struct roots_input *input, const char *command) { +void execute_binding_command(struct roots_seat *seat, + struct roots_input *input, const char *command) { if (strcmp(command, "exit") == 0) { wl_display_terminate(input->server->wl_display); } else if (strcmp(command, "close") == 0) { @@ -97,8 +96,7 @@ void execute_binding_command (struct roots_seat *seat, struct roots_input *input } } } else if (strcmp(command, "break_pointer_constraint") == 0) { - struct wl_list *list = - &input->seats; + struct wl_list *list = &input->seats; struct roots_seat *seat; wl_list_for_each(seat, list, link) { roots_cursor_constrain(seat->cursor, NULL, NAN, NAN); -- cgit v1.2.3