diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-27 10:22:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-27 10:22:06 -0500 |
commit | 018727b1fc41dcd739ab464c84581c44dd1497ca (patch) | |
tree | 31ae7fc75fdabcdc125bb1b3b29260503ea5b96a /include/rootston | |
parent | 89eacf556a64512a4d6ba8241e91f1d287007ad2 (diff) | |
parent | b45fc24b1893484c02420fbb33d7ebb69bbf1eae (diff) | |
download | wlroots-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.h | 3 |
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); |