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




commit f317634db4fbfb11a9cfa85365bda32398a7af17
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.

 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]