aboutsummaryrefslogtreecommitdiff
path: root/harness/include/foreign_intf.h
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2024-02-21 17:02:39 -0700
committerJosh Rahm <rahm@google.com>2024-02-21 17:02:39 -0700
commit7e75cbbaca48fdf2f584aa45879ecd9175483b47 (patch)
treee416bea204cf33bf1553e6dc2e6ee2676e397576 /harness/include/foreign_intf.h
parent08a2b185043d3b7a9f746e42f47a5e06cf4bbeae (diff)
downloadwetterhorn-7e75cbbaca48fdf2f584aa45879ecd9175483b47.tar.gz
wetterhorn-7e75cbbaca48fdf2f584aa45879ecd9175483b47.tar.bz2
wetterhorn-7e75cbbaca48fdf2f584aa45879ecd9175483b47.zip
Have the plugin handle more responsibility with keybindings.
The plugin now passes the key events to the Wayland clients.
Diffstat (limited to 'harness/include/foreign_intf.h')
-rw-r--r--harness/include/foreign_intf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/harness/include/foreign_intf.h b/harness/include/foreign_intf.h
index e0d178c..6558fab 100644
--- a/harness/include/foreign_intf.h
+++ b/harness/include/foreign_intf.h
@@ -19,10 +19,13 @@ typedef struct FOREIGN_INTERFACE {
EXPORT(void (*request_hot_reload)(ctx_t ctx));
/* Requests the harness hot reload the current plugin. */
- EXPORT(void (*do_log)(ctx_t ctx, const char* str));
+ EXPORT(void (*do_log)(ctx_t ctx, const char *str));
/* Requestes that the whole system exit. Exits with the given return code. */
EXPORT(void (*request_exit)(ctx_t ctx, int rc));
+
+ /* Returns the seat associated with the server. */
+ EXPORT(void *(*get_seat)(ctx_t ctx));
} foreign_interface_t;
#undef EXPORT