summaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
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,