[gnome-shell/wip/carlosg/sync-pointer-in-mutter: 7/13] dnd: Avoid sync_pointer after pop_modal()




commit f1437506eab23bd869dd2d1db758574217b2f110
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Dec 18 13:20:18 2020 +0100

    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>

 js/ui/dnd.js | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/js/ui/dnd.js b/js/ui/dnd.js
index 6f55241078..ad92d7ee77 100644
--- a/js/ui/dnd.js
+++ b/js/ui/dnd.js
@@ -770,7 +770,6 @@ var _Draggable = class _Draggable {
             Shell.util_set_hidden_from_pick(this._dragActor, false);
 
         this._ungrabEvents();
-        global.sync_pointer();
 
         if (this._updateHoverId) {
             GLib.source_remove(this._updateHoverId);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]