mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
chase (dnd): refactor to use wlroot's scene_drag_icon
This commit is contained in:
parent
4e4a155072
commit
7c418421eb
2 changed files with 2 additions and 101 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue