Remove extraneous indentation and conform to coding style

This commit is contained in:
Las 2018-08-08 13:59:03 +02:00
parent 59dd1dddba
commit 57690594f4
3 changed files with 14 additions and 14 deletions

View File

@ -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_destroy(struct roots_cursor *cursor);
void roots_cursor_handle_motion(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, 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, 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, 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, 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, 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, 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, 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, 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, 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, void roots_cursor_update_position(struct roots_cursor *cursor,
uint32_t time); uint32_t time);
void roots_cursor_update_focus(struct roots_cursor *cursor); void roots_cursor_update_focus(struct roots_cursor *cursor);

View File

@ -336,7 +336,7 @@ void roots_cursor_handle_touch_down(struct roots_cursor *cursor,
double sx, sy; double sx, sy;
struct wlr_surface *surface = desktop_surface_at( struct wlr_surface *surface = desktop_surface_at(
desktop, lx, ly, &sx, &sy, NULL); desktop, lx, ly, &sx, &sy, NULL);
uint32_t serial = 0; uint32_t serial = 0;
if (surface && roots_seat_allow_input(cursor->seat, surface->resource)) { if (surface && roots_seat_allow_input(cursor->seat, surface->resource)) {

View File

@ -887,10 +887,10 @@ struct roots_desktop *desktop_create(struct roots_server *server,
wlr_input_inhibit_manager_create(server->wl_display); wlr_input_inhibit_manager_create(server->wl_display);
desktop->input_inhibit_activate.notify = input_inhibit_activate; desktop->input_inhibit_activate.notify = input_inhibit_activate;
wl_signal_add(&desktop->input_inhibit->events.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; desktop->input_inhibit_deactivate.notify = input_inhibit_deactivate;
wl_signal_add(&desktop->input_inhibit->events.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( desktop->virtual_keyboard = wlr_virtual_keyboard_manager_v1_create(
server->wl_display); server->wl_display);