gnome-shell/js
Philip Chimento 055c007ac2 dnd: Skip drag target when its acceptDrop() throws an exception
In the case of bugs in a drag target's acceptDrop() function, it may
throw an exception. In the previous code, this would break out of the
loop entirely and never cancel the drag, so the mouse button release
event would be ignored and you would have to press Esc to get out of the
drag.

In this change, if acceptDrop() throws an exception, we log it and move
on to the next parent target instead.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/777
2019-10-22 18:08:10 -07:00
..
extensionPrefs cleanup: Use consistent brace style of blocks 2019-09-15 16:02:45 +02:00
gdm authPrompt: Wiggle on failure 2019-10-18 11:25:45 +00:00
misc util: Add wiggle helper 2019-10-18 11:25:45 +00:00
perf overview: Add OverviewActor and use as main actor of the Overlay 2019-10-16 15:26:13 +00:00
portalHelper cleanup: Mark globals used from other modules as exported 2019-07-24 00:28:45 +02:00
ui dnd: Skip drag target when its acceptDrop() throws an exception 2019-10-22 18:08:10 -07:00
js-resources.gresource.xml accessibility: Add pointer accessibility support 2019-06-06 09:13:29 +02:00
meson.build build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00
portal-resources.gresource.xml build: Include params.js in portal-helper gresources 2018-10-23 15:38:31 +00:00
prefs-resources.gresource.xml build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00