diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 18f8e1606..fe89b5bc3 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -2387,6 +2387,15 @@ meta_wayland_surface_drag_dest_drop (MetaWaylandSurface *surface) surface->dnd.funcs->drop (data_device, surface); } +void +meta_wayland_surface_drag_dest_update (MetaWaylandSurface *surface) +{ + MetaWaylandCompositor *compositor = meta_wayland_compositor_get_default (); + MetaWaylandDataDevice *data_device = &compositor->seat->data_device; + + surface->dnd.funcs->update (data_device, surface); +} + MetaWindow * meta_wayland_surface_get_toplevel_window (MetaWaylandSurface *surface) { diff --git a/src/wayland/meta-wayland-surface.h b/src/wayland/meta-wayland-surface.h index 94ba1005c..7a5ec6d32 100644 --- a/src/wayland/meta-wayland-surface.h +++ b/src/wayland/meta-wayland-surface.h @@ -128,6 +128,8 @@ struct _MetaWaylandDragDestFuncs const ClutterEvent *event); void (* drop) (MetaWaylandDataDevice *data_device, MetaWaylandSurface *surface); + void (* update) (MetaWaylandDataDevice *data_device, + MetaWaylandSurface *surface); }; struct _MetaWaylandSurface @@ -240,6 +242,7 @@ void meta_wayland_surface_drag_dest_motion (MetaWaylandSurface const ClutterEvent *event); void meta_wayland_surface_drag_dest_focus_out (MetaWaylandSurface *surface); void meta_wayland_surface_drag_dest_drop (MetaWaylandSurface *surface); +void meta_wayland_surface_drag_dest_update (MetaWaylandSurface *surface); void meta_wayland_surface_update_outputs (MetaWaylandSurface *surface);