backend/x11: fix code style in get_touchpoint_from_x11_touch_id
This commit is contained in:
parent
5619cf368b
commit
cbedbd0fc0
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue