diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-09-28 14:16:20 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2016-01-19 13:45:56 +0100 |
commit | 6b8842046512e711a9625c2695d6db915bd98961 (patch) | |
tree | 6695c55ca6aec0a379b08636c5f8563d8364ecb1 /src/wayland/meta-wayland-surface.h | |
parent | fc0a834abbab7dbb0f9e267c72bb6f7d7e0b1c96 (diff) | |
download | mutter-6b8842046512e711a9625c2695d6db915bd98961.tar.gz |
wayland: Add "update" vfunc to MetaWaylandDragDestFuncs
This will be useful when an update is due but no motion event is to be
sent/received (eg. modifier changes during DnD).
https://bugzilla.gnome.org/show_bug.cgi?id=760805
Diffstat (limited to 'src/wayland/meta-wayland-surface.h')
-rw-r--r-- | src/wayland/meta-wayland-surface.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |