backend/x11: fix code style in get_touchpoint_from_x11_touch_id

This commit is contained in:
Simon Ser 2021-10-27 12:08:09 +02:00
parent 5619cf368b
commit cbedbd0fc0
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@ static void send_touch_up_event(struct wlr_x11_output *output,
wlr_signal_emit_safe(&output->touch.events.frame, NULL); 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, static struct wlr_x11_touchpoint *get_touchpoint_from_x11_touch_id(
uint32_t id) { struct wlr_x11_output *output, uint32_t id) {
struct wlr_x11_touchpoint *touchpoint; struct wlr_x11_touchpoint *touchpoint;
wl_list_for_each(touchpoint, &output->touchpoints, link) { wl_list_for_each(touchpoint, &output->touchpoints, link) {
if (touchpoint->x11_id == id) { if (touchpoint->x11_id == id) {