dnd: Avoid sync_pointer after pop_modal()

This is only necessary for the X11 backend (as grabs triggered by other
clients leave GNOME Shell oblivious of the actual pointer position), but
is now handled inside Mutter.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1556>
This commit is contained in:
Carlos Garnacho 2020-12-18 13:20:18 +01:00 committed by Marge Bot
parent b9207e0e19
commit f1437506ea

View File

@ -770,7 +770,6 @@ var _Draggable = class _Draggable {
Shell.util_set_hidden_from_pick(this._dragActor, false); Shell.util_set_hidden_from_pick(this._dragActor, false);
this._ungrabEvents(); this._ungrabEvents();
global.sync_pointer();
if (this._updateHoverId) { if (this._updateHoverId) {
GLib.source_remove(this._updateHoverId); GLib.source_remove(this._updateHoverId);