mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 21:15:59 +01:00
backend/x11: send touch frame events
This commit is contained in:
parent
8eef6a8843
commit
c1902cdb3f
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,7 @@ static void send_touch_down_event(struct wlr_x11_output *output,
|
|||
.touch_id = touch_id,
|
||||
};
|
||||
wlr_signal_emit_safe(&output->touch.events.down, &ev);
|
||||
wlr_signal_emit_safe(&output->touch.events.frame, NULL);
|
||||
}
|
||||
|
||||
static void send_touch_motion_event(struct wlr_x11_output *output,
|
||||
|
@ -91,6 +92,7 @@ static void send_touch_motion_event(struct wlr_x11_output *output,
|
|||
.touch_id = touch_id,
|
||||
};
|
||||
wlr_signal_emit_safe(&output->touch.events.motion, &ev);
|
||||
wlr_signal_emit_safe(&output->touch.events.frame, NULL);
|
||||
}
|
||||
|
||||
static void send_touch_up_event(struct wlr_x11_output *output,
|
||||
|
@ -101,6 +103,7 @@ static void send_touch_up_event(struct wlr_x11_output *output,
|
|||
.touch_id = touch_id,
|
||||
};
|
||||
wlr_signal_emit_safe(&output->touch.events.up, &ev);
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue