chase (dnd): refactor to use wlroot's scene_drag_icon

This commit is contained in:
nullableVoidPtr 2023-12-03 16:38:52 +08:00 committed by Johan Malm
parent 41891209fc
commit bf326cc8f1
2 changed files with 2 additions and 101 deletions

View file

@ -5,19 +5,6 @@
#include <wayland-server-core.h>
struct seat;
struct wlr_drag_icon;
struct wlr_scene_tree;
struct drag_icon {
struct wlr_scene_tree *icon_tree;
struct wlr_drag_icon *icon;
struct {
struct wl_listener map;
struct wl_listener commit;
struct wl_listener unmap;
struct wl_listener destroy;
} events;
};
void dnd_init(struct seat *seat);
void dnd_icons_show(struct seat *seat, bool show);