gnome-shell/js
Carlos Garnacho 7a86637f8d dnd: Avoid breaking drag state on cancellation
In the case where the draggable has an actor of its own, state could be
left broken when dragging on a place that would not accept the DnD op.
After button release, drag state is set to "cancelled" and the animation
begins. After the animation is finished, the drag actor would be destroyed
before disconnecting from its destroy handler.

Within the destroy handler, the grab would be undone but drag state would
be left on "cancelled" state for subsequent operations. This results in
DnD oddities and stuck grabs.

In order to fix this, double check in the actor destroy handler that we
are actually dragging before setting the "cancelled" state.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/540
2019-01-26 23:38:50 +00:00
..
extensionPrefs cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
gdm cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
misc cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
perf
portalHelper cleanup: Port GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
ui dnd: Avoid breaking drag state on cancellation 2019-01-26 23:38:50 +00:00
js-resources.gresource.xml Add app introspection API 2019-01-09 10:13:45 +01:00
meson.build
portal-resources.gresource.xml build: Include params.js in portal-helper gresources 2018-10-23 15:38:31 +00:00
prefs-resources.gresource.xml