aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-14 15:55:48 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-14 16:22:31 +0200
commit53e7bebd2381318b9edcbc8d305d4ec2bed9b3ce (patch)
treed690768446465c1fffffbe62096b1f69a5b8f950 /include/wlr/interfaces
parent0a3246ad979d768933a68b81e738853bd7c964a2 (diff)
Refactor out wlr_pointer_state
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_pointer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/wlr/interfaces/wlr_pointer.h b/include/wlr/interfaces/wlr_pointer.h
index 8c3f7e0d..8d4bf703 100644
--- a/include/wlr/interfaces/wlr_pointer.h
+++ b/include/wlr/interfaces/wlr_pointer.h
@@ -3,11 +3,11 @@
#include <wlr/types/wlr_pointer.h>
struct wlr_pointer_impl {
- void (*destroy)(struct wlr_pointer_state *state);
+ void (*destroy)(struct wlr_pointer *pointer);
};
-struct wlr_pointer *wlr_pointer_create(struct wlr_pointer_impl *impl,
- struct wlr_pointer_state *state);
+void wlr_pointer_init(struct wlr_pointer *pointer,
+ struct wlr_pointer_impl *impl);
void wlr_pointer_destroy(struct wlr_pointer *pointer);
#endif