mutter/src
Carlos Garnacho e5af790acb wayland: Move "ownership" of the DnD selection source to the data device
On wl_data_source destruction we used to indirectly unset the DnD selection
owner via the wl_resource destructor triggering the destruction of the
MetaWaylandDataSource, which would be caught through the weak ref set by
the MetaWaylandDragGrab.

This works as long as the grab is held, however we have a window between
the button being released and the drop site replying with
wl_data_offer.finish that the MetaWaylandDataSource is alive, but its
destruction wouldn't result in the call chain above to unsetting the DnD
source.

In other selection sources, we let the MetaWaylandDataDevice hold the
"ownership" of the MetaWaylandDataSource, and its weak ref functions unset
the respective MetaSelection owners. Do the same here, so the
MetaWaylandDataSource destruction is listened for all its lifetime.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/591
2019-11-20 12:07:51 +01:00
..
backends cursor-renderer/native: Fix cursor drawing in combination with panel_orientation_transform 2019-11-13 10:54:37 +01:00
compositor compositor: Guard against untimely calls 2019-11-11 13:09:20 +00:00
core window: Assert we only set a NULL workspace when unmanaging 2019-11-07 16:04:19 +00:00
meta Allow changing Clutter debug flags at runtime 2019-10-25 19:12:34 +00:00
tests clutter: Remove deprecated ClutterTableLayout 2019-11-19 21:50:27 +00:00
ui meta: Move private defines to a private header 2019-10-15 11:03:56 +00:00
wayland wayland: Move "ownership" of the DnD selection source to the data device 2019-11-20 12:07:51 +01:00
x11 window-props: Read WM_TRANSIENT_FOR for override-redirect windows 2019-11-07 18:43:16 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build core/core: Rename and move to x11/meta-x11-window-control 2019-10-15 07:17:29 +00:00
meta-marshal.list cursor-tracker: Use our own marshal for cursor-moved 2019-07-31 09:34:17 +00:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml fixed typo 2018-07-24 13:16:36 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml Fix typo in RemoteDesktop dbus api 2019-05-22 16:21:57 +02:00
org.gnome.Mutter.ScreenCast.xml org.gnome.Mutter.ScreenCast: Document what was added in API version 2 2019-02-26 13:39:11 +00:00