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




commit 0141b66d23cf0e140a44c33963e00fa5a147d396
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Dec 18 13:22:50 2020 +0100

    grabHelper: 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/grabHelper.js | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js
index 2ba2aad9a3..532f744175 100644
--- a/js/ui/grabHelper.js
+++ b/js/ui/grabHelper.js
@@ -226,7 +226,6 @@ var GrabHelper = class GrabHelper {
         this._ignoreUntilRelease = false;
 
         Main.popModal(this._owner);
-        global.sync_pointer();
     }
 
     // ignoreRelease:


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