From dd1775a9927922c14f8679ccbc4d3ca8d5917e20 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Tue, 13 Oct 2026 21:23:03 +0300 Subject: public api refactor --- src/common/input.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common/input.h') diff --git a/src/common/input.h b/src/common/input.h index aad5c9a..8980c55 100644 --- a/src/common/input.h +++ b/src/common/input.h @@ -19,6 +19,10 @@ struct input_queue { uint32_t buttons; /* Set by backends whose pointer leave ends any press: no release follows. */ bool leave_ends_press; + /* Installed by common code for display-wide publication. Standalone queues + * retain their normal storage/pop semantics when publish is NULL. */ + bool (*publish)(const struct yasl_event *ev, void *ud); + void *publish_ud; }; /* Copies text payloads and stamps time_ns when zero. Unless q->relative is set, -- cgit v1.2.3