diff options
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/input.c b/src/input.c index d65ea0f1..753b6796 100644 --- a/src/input.c +++ b/src/input.c @@ -1309,17 +1309,6 @@ bind_seat(struct wl_client *client, void *data, uint32_t version, uint32_t id) wl_seat_send_capabilities(resource, caps); } -static void -device_handle_new_drag_icon(struct wl_listener *listener, void *data) -{ - struct weston_seat *seat; - - seat = container_of(listener, struct weston_seat, - new_drag_icon_listener); - - weston_seat_update_drag_surface(seat, 0, 0); -} - int weston_compositor_xkb_init(struct weston_compositor *ec, struct xkb_rule_names *names) @@ -1520,7 +1509,6 @@ weston_seat_init(struct weston_seat *seat, struct weston_compositor *ec) wl_list_init(&seat->base_resource_list); wl_signal_init(&seat->selection_signal); wl_list_init(&seat->drag_resource_list); - wl_signal_init(&seat->drag_icon_signal); wl_signal_init(&seat->destroy_signal); seat->has_pointer = 0; @@ -1541,10 +1529,6 @@ weston_seat_init(struct weston_seat *seat, struct weston_compositor *ec) wl_list_insert(ec->seat_list.prev, &seat->link); - seat->new_drag_icon_listener.notify = device_handle_new_drag_icon; - wl_signal_add(&seat->drag_icon_signal, - &seat->new_drag_icon_listener); - clipboard_create(seat); wl_signal_emit(&ec->seat_created_signal, seat); |