mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
dnd: show dnd icon above layer-shell surfaces
This commit is contained in:
parent
9fc41a9730
commit
f4f5a02b0a
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ handle_drag_start(struct wl_listener *listener, void *data)
|
|||
if (drag->icon) {
|
||||
/* Cleans up automatically on drag->icon->events.destroy */
|
||||
wlr_scene_drag_icon_create(seat->drag.icons, drag->icon);
|
||||
wlr_scene_node_raise_to_top(&seat->drag.icons->node);
|
||||
wlr_scene_node_set_enabled(&seat->drag.icons->node, true);
|
||||
}
|
||||
wl_signal_add(&drag->events.destroy, &seat->drag.events.destroy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue