aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-10-27 12:08:09 +0200
committerSimon Ser <contact@emersion.fr>2021-10-27 12:08:09 +0200
commitcbedbd0fc09072948380a5fe69537c94af9fb18a (patch)
tree0f83b533bc5c68ed1989284bf9027612c4340403 /backend
parent5619cf368bb55a3b987860fba8f6cf8202fc18f1 (diff)
backend/x11: fix code style in get_touchpoint_from_x11_touch_id
Diffstat (limited to 'backend')
-rw-r--r--backend/x11/input_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c
index d3a3db9e..f9541b06 100644
--- a/backend/x11/input_device.c
+++ b/backend/x11/input_device.c
@@ -106,8 +106,8 @@ static void send_touch_up_event(struct wlr_x11_output *output,
wlr_signal_emit_safe(&output->touch.events.frame, NULL);
}
-static struct wlr_x11_touchpoint* get_touchpoint_from_x11_touch_id(struct wlr_x11_output *output,
- uint32_t id) {
+static struct wlr_x11_touchpoint *get_touchpoint_from_x11_touch_id(
+ struct wlr_x11_output *output, uint32_t id) {
struct wlr_x11_touchpoint *touchpoint;
wl_list_for_each(touchpoint, &output->touchpoints, link) {
if (touchpoint->x11_id == id) {