diff options
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r-- | include/sway/input/cursor.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 98eb4679..516718c9 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -52,8 +52,6 @@ struct sway_cursor { | |||
52 | struct wl_event_source *hide_source; | 52 | struct wl_event_source *hide_source; |
53 | bool hidden; | 53 | bool hidden; |
54 | 54 | ||
55 | // Mouse binding state | ||
56 | uint32_t pressed_buttons[SWAY_CURSOR_PRESSED_BUTTONS_CAP]; | ||
57 | size_t pressed_button_count; | 55 | size_t pressed_button_count; |
58 | }; | 56 | }; |
59 | 57 | ||
@@ -78,13 +76,6 @@ void cursor_handle_activity(struct sway_cursor *cursor); | |||
78 | void cursor_unhide(struct sway_cursor *cursor); | 76 | void cursor_unhide(struct sway_cursor *cursor); |
79 | int cursor_get_timeout(struct sway_cursor *cursor); | 77 | int cursor_get_timeout(struct sway_cursor *cursor); |
80 | 78 | ||
81 | /** | ||
82 | * Like cursor_rebase, but also allows focus to change when the cursor enters a | ||
83 | * new container. | ||
84 | */ | ||
85 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | ||
86 | struct sway_node *node, struct wlr_surface *surface, double sx, double sy); | ||
87 | |||
88 | void dispatch_cursor_button(struct sway_cursor *cursor, | 79 | void dispatch_cursor_button(struct sway_cursor *cursor, |
89 | struct wlr_input_device *device, uint32_t time_msec, uint32_t button, | 80 | struct wlr_input_device *device, uint32_t time_msec, uint32_t button, |
90 | enum wlr_button_state state); | 81 | enum wlr_button_state state); |