mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-10-26 17:54:14 +00:00
Remove unused icon variable
This commit is contained in:
parent
0196dd2457
commit
8eace253e7
4
dwl.c
4
dwl.c
@ -2333,12 +2333,10 @@ void
|
||||
startdrag(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct wlr_drag *drag = data;
|
||||
struct wlr_scene_tree *icon;
|
||||
|
||||
if (!drag->icon)
|
||||
return;
|
||||
|
||||
drag->icon->data = icon = wlr_scene_subsurface_tree_create(drag_icon, drag->icon->surface);
|
||||
drag->icon->data = &wlr_scene_subsurface_tree_create(drag_icon, drag->icon->surface)->node;
|
||||
motionnotify(0);
|
||||
wl_signal_add(&drag->icon->events.destroy, &drag_icon_destroy);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user