display: Make sure to ungrab the pointer before starting a grab op

Desktop / GNOME / Mutter - Jasper St. Pierre [mecheye.net] - 24 April 2014 10:26 UTC

Now that we grab devices on the X11 connection, we can run into cross-connection issues. Since GTK+ frames are on the UI connection, they'll get the passive grab when we click on them. Forcibly ungrab on GTK+'s connection before attempting to take a grab on the backend connection ourselves.

5b83bfb display: Make sure to ungrab the pointer before starting a grab op
src/core/display.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

Upstream: git.gnome.org


  • Share