mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
chase (dnd): refactor to use wlroot's scene_drag_icon
This commit is contained in:
parent
41891209fc
commit
bf326cc8f1
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