wayland: Reduce MetaXWaylandSelection to just DnD

All the actual selection management functionality is superseded by
MetaSelection. Reduce it to just handling the XDND messaging and leave
selections to MetaSelection.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/320
This commit is contained in:
Carlos Garnacho
2018-11-22 01:33:13 +01:00
parent 634f512bb0
commit 17d00d49d4
9 changed files with 961 additions and 1810 deletions

View File

@@ -1774,7 +1774,7 @@ meta_x11_display_handle_xevent (MetaX11Display *x11_display,
#ifdef HAVE_WAYLAND
if (meta_is_wayland_compositor () &&
meta_xwayland_selection_handle_event (event))
meta_xwayland_dnd_handle_event (event))
{
bypass_gtk = bypass_compositor = TRUE;
goto out;