aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-27 10:22:06 -0500
committerGitHub <noreply@github.com>2019-01-27 10:22:06 -0500
commit018727b1fc41dcd739ab464c84581c44dd1497ca (patch)
tree31ae7fc75fdabcdc125bb1b3b29260503ea5b96a /include/rootston
parent89eacf556a64512a4d6ba8241e91f1d287007ad2 (diff)
parentb45fc24b1893484c02420fbb33d7ebb69bbf1eae (diff)
downloadwlroots-018727b1fc41dcd739ab464c84581c44dd1497ca.tar.xz
Merge pull request #1503 from emersion/pointer-frame
pointer: add a frame event
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/cursor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h
index b5bb682f..d1db6856 100644
--- a/include/rootston/cursor.h
+++ b/include/rootston/cursor.h
@@ -38,6 +38,7 @@ struct roots_cursor {
struct wl_listener motion_absolute;
struct wl_listener button;
struct wl_listener axis;
+ struct wl_listener frame;
struct wl_listener touch_down;
struct wl_listener touch_up;
@@ -71,6 +72,8 @@ void roots_cursor_handle_button(struct roots_cursor *cursor,
void roots_cursor_handle_axis(struct roots_cursor *cursor,
struct wlr_event_pointer_axis *event);
+void roots_cursor_handle_frame(struct roots_cursor *cursor);
+
void roots_cursor_handle_touch_down(struct roots_cursor *cursor,
struct wlr_event_touch_down *event);