aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/libinput/events.c2
-rw-r--r--backend/wayland/output.c2
-rw-r--r--backend/wayland/wl_seat.c2
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 767d1c6b..c0e93c41 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -66,7 +66,7 @@ static struct wlr_output_impl output_impl = {
.swap_buffers = wlr_wl_output_swap_buffers,
};
-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 43e73dac..0ea1fd26 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;