From 2d530e35ee67126c83afb89ed7a3066b65782f57 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sun, 11 Feb 2024 19:11:21 -0700 Subject: Import tinywl into the project, starting the compositor phase. Right now nothing interesting is happening, but the new tinywl implementation is successfully loading a plugin and calling a handler for 'handle keybinding', which is pretty slick. --- harness/include/plugin.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'harness/include/plugin.h') diff --git a/harness/include/plugin.h b/harness/include/plugin.h index db15401..651e2f1 100644 --- a/harness/include/plugin.h +++ b/harness/include/plugin.h @@ -92,6 +92,11 @@ typedef struct PLUGIN { */ EXPORT(void (*plugin_teardown)(opqst_t)); + /* + * Handles a keybinding. + */ + EXPORT(opqst_t (*plugin_handle_keybinding)(uint32_t keysym, opqst_t state)); + } plugin_t; /** Loads a plugin from the dynamic library handle. Returns a non-zero error -- cgit