aboutsummaryrefslogtreecommitdiff
path: root/rt/include
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2026-01-04 19:16:06 -0700
committerJosh Rahm <joshuarahm@gmail.com>2026-01-04 19:16:06 -0700
commitefe34b2c98cc90ed686217ea3b0655fae1839414 (patch)
tree3e34f00b518eac8cefeb684c0538cf4312b2df06 /rt/include
parent21667ce43fded6abf8516a1fb728d60a38b2b36e (diff)
downloadmontis-efe34b2c98cc90ed686217ea3b0655fae1839414.tar.gz
montis-efe34b2c98cc90ed686217ea3b0655fae1839414.tar.bz2
montis-efe34b2c98cc90ed686217ea3b0655fae1839414.zip
[feat] add mouse motion hooks.
Added absolute mouse motion hooks.
Diffstat (limited to 'rt/include')
-rw-r--r--rt/include/plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rt/include/plugin.h b/rt/include/plugin.h
index 16823e8..be5dbb4 100644
--- a/rt/include/plugin.h
+++ b/rt/include/plugin.h
@@ -143,6 +143,10 @@ typedef struct PLUGIN {
EXPORT(opqst_t (*plugin_handle_button)(struct wlr_pointer_button_event *event,
uint32_t modifiers, opqst_t state));
+ EXPORT(opqst_t (*plugin_handle_motion)(
+ struct wlr_pointer_motion_absolute_event *event, uint32_t modifiers,
+ opqst_t state));
+
/*
* Handles a surface being mapped, unmapped or destroyed.
*/