mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-25 01:08:14 +02:00
input: Add TL_POINTs for kernel timestamps at input initialization
This basically starts tracking input event. From here on we can start flow tracking the event until it exits and is being delivered to the client. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
a1ac3c2e8d
commit
5d07696101
1 changed files with 2 additions and 0 deletions
|
|
@ -52,6 +52,7 @@
|
|||
#include "pointer-constraints-unstable-v1-server-protocol.h"
|
||||
#include "input-timestamps-unstable-v1-server-protocol.h"
|
||||
#include "tablet-unstable-v2-server-protocol.h"
|
||||
#include "timeline.h"
|
||||
|
||||
enum pointer_constraint_type {
|
||||
POINTER_CONSTRAINT_TYPE_LOCK,
|
||||
|
|
@ -5976,6 +5977,7 @@ weston_input_event_init(struct weston_input_event *ievent, struct timespec *ts,
|
|||
|
||||
WESTON_TRACE_FUNC_FLOW(&ievent->flow_id);
|
||||
|
||||
TL_POINT(seat->compositor, TLP_INPUT_KERNEL_TS, TLP_INPUT_EVENT(ievent), TLP_END);
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue