diff options
Diffstat (limited to 'rt/include')
| -rw-r--r-- | rt/include/plugin.h | 2 | ||||
| -rw-r--r-- | rt/include/util.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/rt/include/plugin.h b/rt/include/plugin.h index 4146b37..d7ae18b 100644 --- a/rt/include/plugin.h +++ b/rt/include/plugin.h @@ -146,7 +146,7 @@ typedef struct PLUGIN { /* Absolute motion only for now; relative motion stays in the runtime. */ EXPORT(opqst_t (*plugin_handle_motion)( struct wlr_pointer_motion_absolute_event *event, uint32_t modifiers, - opqst_t state)); + double lx, double ly, opqst_t state)); /* * Handles a surface being mapped, unmapped or destroyed. diff --git a/rt/include/util.h b/rt/include/util.h index f7de541..b477113 100644 --- a/rt/include/util.h +++ b/rt/include/util.h @@ -6,7 +6,6 @@ * are intended for direct FFI use from the Haskell plugin. */ -void montis_plugin_get_cursor_position(void *ctx, double *x, double *y); void *montis_plugin_toplevel_at(void *ctx, double lx, double ly); void montis_plugin_get_toplevel_position(void *toplevel, double *x, double *y); void montis_plugin_set_toplevel_position(void *toplevel, double x, double y); |