diff options
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 7a4dd19f..f970e6a2 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -1154,9 +1154,6 @@ struct sway_cursor *sway_cursor_create(struct sway_seat *seat) { | |||
1154 | wl_list_init(&cursor->image_surface_destroy.link); | 1154 | wl_list_init(&cursor->image_surface_destroy.link); |
1155 | cursor->image_surface_destroy.notify = handle_image_surface_destroy; | 1155 | cursor->image_surface_destroy.notify = handle_image_surface_destroy; |
1156 | 1156 | ||
1157 | // gesture events | ||
1158 | cursor->pointer_gestures = wlr_pointer_gestures_v1_create(server.wl_display); | ||
1159 | |||
1160 | wl_signal_add(&wlr_cursor->events.hold_begin, &cursor->hold_begin); | 1157 | wl_signal_add(&wlr_cursor->events.hold_begin, &cursor->hold_begin); |
1161 | cursor->hold_begin.notify = handle_pointer_hold_begin; | 1158 | cursor->hold_begin.notify = handle_pointer_hold_begin; |
1162 | wl_signal_add(&wlr_cursor->events.hold_end, &cursor->hold_end); | 1159 | wl_signal_add(&wlr_cursor->events.hold_end, &cursor->hold_end); |