diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-15 07:18:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 07:18:22 -0400 |
commit | d2e796edb7256bb2e2b694a13c86e8bee7056309 (patch) | |
tree | 11bc14a473bdd501de890ee20189ce9e05327ed4 /backend | |
parent | 5ca88af557178c0081fd408ae008686b79d6dd9c (diff) | |
parent | 7d0bf9a1a77420f09389bda1acafcd4bd42e82f1 (diff) |
Merge pull request #86 from nyorain/master
Fix style issues
Diffstat (limited to 'backend')
-rw-r--r-- | backend/libinput/events.c | 2 | ||||
-rw-r--r-- | backend/wayland/output.c | 2 | ||||
-rw-r--r-- | backend/wayland/wl_seat.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c index 0e434b7c..4288701d 100644 --- a/backend/libinput/events.c +++ b/backend/libinput/events.c @@ -120,7 +120,7 @@ static void handle_device_removed(struct wlr_libinput_backend *backend, if (!wlr_devices) { return; } - for (size_t i = 0; i < wlr_devices->length; i++) { + for (size_t i = 0; i < wlr_devices->length; i++) { struct wlr_input_device *wlr_dev = wlr_devices->items[i]; wl_signal_emit(&backend->backend.events.input_remove, wlr_dev); wlr_input_device_destroy(wlr_dev); diff --git a/backend/wayland/output.c b/backend/wayland/output.c index a95505dc..cb286316 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -162,7 +162,7 @@ static struct wlr_output_impl output_impl = { .move_cursor = wlr_wl_output_move_cursor }; -void handle_ping(void* data, struct wl_shell_surface* ssurface, uint32_t serial) { +void handle_ping(void *data, struct wl_shell_surface *ssurface, uint32_t serial) { struct wlr_wl_backend_output *output = data; assert(output && output->shell_surface == ssurface); wl_shell_surface_pong(ssurface, serial); diff --git a/backend/wayland/wl_seat.c b/backend/wayland/wl_seat.c index 6e645a58..31a3560a 100644 --- a/backend/wayland/wl_seat.c +++ b/backend/wayland/wl_seat.c @@ -19,7 +19,7 @@ static void pointer_handle_enter(void *data, struct wl_pointer *wl_pointer, struct wlr_wl_input_device *wlr_wl_dev = (struct wlr_wl_input_device *)dev; assert(dev && dev->pointer); struct wlr_wl_pointer *wlr_wl_pointer = (struct wlr_wl_pointer *)dev->pointer; - struct wlr_wl_backend_output* output = + struct wlr_wl_backend_output *output = wlr_wl_output_for_surface(wlr_wl_dev->backend, surface); assert(output); wlr_wl_pointer->current_output = output; |