aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-08-20 16:02:39 -0400
committerTony Crisci <tony@dubstepdish.com>2017-08-26 08:32:11 -0400
commite3d47376dc9a7ffef3823cb2b4db78296e3cf717 (patch)
tree3979dafa4fff893c45bcc22568019f54a0e0d995 /examples/shared.h
parent48fa59c22e0b49bc347006738cc5dda9c6d13821 (diff)
add wlr_cursor basic implementation
Diffstat (limited to 'examples/shared.h')
-rw-r--r--examples/shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/shared.h b/examples/shared.h
index d8007753..d9972ffd 100644
--- a/examples/shared.h
+++ b/examples/shared.h
@@ -93,6 +93,8 @@ struct tablet_pad_state {
};
struct compositor_state {
+ void (*input_add_cb)(struct compositor_state *compositor,
+ struct wlr_input_device *device);
void (*output_add_cb)(struct output_state *s);
void (*keyboard_add_cb)(struct keyboard_state *s);
void (*output_frame_cb)(struct output_state *s, struct timespec *ts);