diff options
author | Las <las@protonmail.ch> | 2018-08-08 13:59:03 +0200 |
---|---|---|
committer | Las <las@protonmail.ch> | 2018-09-18 10:14:33 +0200 |
commit | 57690594f497cbc9cc552eee75a94e76226e433e (patch) | |
tree | 61fcca5f88ab427e6f42a22a3d900daa2d770149 | |
parent | 59dd1dddbabb93569d06fb5612cb8178a9a50c1e (diff) |
Remove extraneous indentation and conform to coding style
-rw-r--r-- | include/rootston/cursor.h | 22 | ||||
-rw-r--r-- | rootston/cursor.c | 2 | ||||
-rw-r--r-- | rootston/desktop.c | 4 |
3 files changed, 14 insertions, 14 deletions
diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h index bcbc1c07..547fe333 100644 --- a/include/rootston/cursor.h +++ b/include/rootston/cursor.h @@ -52,37 +52,37 @@ struct roots_cursor *roots_cursor_create(struct roots_seat *seat); void roots_cursor_destroy(struct roots_cursor *cursor); void roots_cursor_handle_motion(struct roots_cursor *cursor, - struct wlr_event_pointer_motion *event); + struct wlr_event_pointer_motion *event); void roots_cursor_handle_motion_absolute(struct roots_cursor *cursor, - struct wlr_event_pointer_motion_absolute *event); + struct wlr_event_pointer_motion_absolute *event); void roots_cursor_handle_button(struct roots_cursor *cursor, - struct wlr_event_pointer_button *event); + struct wlr_event_pointer_button *event); void roots_cursor_handle_axis(struct roots_cursor *cursor, - struct wlr_event_pointer_axis *event); + struct wlr_event_pointer_axis *event); void roots_cursor_handle_touch_down(struct roots_cursor *cursor, - struct wlr_event_touch_down *event); + struct wlr_event_touch_down *event); void roots_cursor_handle_touch_up(struct roots_cursor *cursor, - struct wlr_event_touch_up *event); + struct wlr_event_touch_up *event); void roots_cursor_handle_touch_motion(struct roots_cursor *cursor, - struct wlr_event_touch_motion *event); + struct wlr_event_touch_motion *event); void roots_cursor_handle_tool_axis(struct roots_cursor *cursor, - struct wlr_event_tablet_tool_axis *event); + struct wlr_event_tablet_tool_axis *event); void roots_cursor_handle_tool_tip(struct roots_cursor *cursor, - struct wlr_event_tablet_tool_tip *event); + struct wlr_event_tablet_tool_tip *event); void roots_cursor_handle_request_set_cursor(struct roots_cursor *cursor, - struct wlr_seat_pointer_request_set_cursor_event *event); + struct wlr_seat_pointer_request_set_cursor_event *event); void roots_cursor_update_position(struct roots_cursor *cursor, - uint32_t time); + uint32_t time); void roots_cursor_update_focus(struct roots_cursor *cursor); diff --git a/rootston/cursor.c b/rootston/cursor.c index b7dd98ed..ee9e5c6b 100644 --- a/rootston/cursor.c +++ b/rootston/cursor.c @@ -336,7 +336,7 @@ void roots_cursor_handle_touch_down(struct roots_cursor *cursor, double sx, sy; struct wlr_surface *surface = desktop_surface_at( - desktop, lx, ly, &sx, &sy, NULL); + desktop, lx, ly, &sx, &sy, NULL); uint32_t serial = 0; if (surface && roots_seat_allow_input(cursor->seat, surface->resource)) { diff --git a/rootston/desktop.c b/rootston/desktop.c index 3f6d977e..e120508d 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -887,10 +887,10 @@ struct roots_desktop *desktop_create(struct roots_server *server, wlr_input_inhibit_manager_create(server->wl_display); desktop->input_inhibit_activate.notify = input_inhibit_activate; wl_signal_add(&desktop->input_inhibit->events.activate, - &desktop->input_inhibit_activate); + &desktop->input_inhibit_activate); desktop->input_inhibit_deactivate.notify = input_inhibit_deactivate; wl_signal_add(&desktop->input_inhibit->events.deactivate, - &desktop->input_inhibit_deactivate); + &desktop->input_inhibit_deactivate); desktop->virtual_keyboard = wlr_virtual_keyboard_manager_v1_create( server->wl_display); |