wlr-data-device: map icon by default
This commit is contained in:
parent
390b526450
commit
8f38b0504b
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue