Remove now-unneeded call to motionnotify

This appears to have been here for the side effect of updating the drag
icon's position.
This commit is contained in:
Devin J. Pohly 2023-07-14 00:02:54 -04:00 committed by Leonardo Hernández
parent 4b15bbeb33
commit 76ba2cdab0

1
dwl.c
View file

@ -2338,7 +2338,6 @@ startdrag(struct wl_listener *listener, void *data)
return;
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);
}