wlr-data-device: map icon by default

This commit is contained in:
Tony Crisci 2017-11-19 10:14:57 -05:00
parent 390b526450
commit 8f38b0504b
1 changed files with 1 additions and 0 deletions

View File

@ -665,6 +665,7 @@ static struct wlr_drag_icon *wlr_drag_icon_create(
icon->client = client; icon->client = client;
icon->is_pointer = is_pointer; icon->is_pointer = is_pointer;
icon->touch_id = touch_id; icon->touch_id = touch_id;
icon->mapped = true;
wl_list_insert(&client->seat->drag_icons, &icon->link); wl_list_insert(&client->seat->drag_icons, &icon->link);
wl_signal_init(&icon->events.destroy); wl_signal_init(&icon->events.destroy);