diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2024-02-11 19:11:21 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2024-02-11 19:11:21 -0700 |
| commit | 2d530e35ee67126c83afb89ed7a3066b65782f57 (patch) | |
| tree | 00f2e411ed5ee19f1810a4fb58585cc3e91f8841 /harness/include/plugin.h | |
| parent | d5d8526cfa80b17bd2562fda06614659fc42a20a (diff) | |
| download | montis-2d530e35ee67126c83afb89ed7a3066b65782f57.tar.gz montis-2d530e35ee67126c83afb89ed7a3066b65782f57.tar.bz2 montis-2d530e35ee67126c83afb89ed7a3066b65782f57.zip | |
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.
Diffstat (limited to 'harness/include/plugin.h')
| -rw-r--r-- | harness/include/plugin.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |