summaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-13 21:23:03 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-13 21:23:03 +0300
commitdd1775a9927922c14f8679ccbc4d3ca8d5917e20 (patch)
tree3acc442bb4a3470364b74aa82ff67cb84d555c45 /src/common/input.h
parentecb81aeea4c0c880b3a60a0dc8418c4bf2a7cf85 (diff)
public api refactor
Diffstat (limited to 'src/common/input.h')
-rw-r--r--src/common/input.h4
1 files changed, 4 insertions, 0 deletions
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,