GNOME Bugzilla – Bug 721709
Remove server grab in calc_showing path
Last modified: 2014-02-13 19:00:44 UTC
This function emits signals under a grab (e.g. via _shell_wm_minimize). We caught a Mali deadlock here when the shell tried to do rendering in response to such signals. This was added in bug #381127 to combat window flicker. Now that we do compositing, this grab is no longer necessary.
Created attachment 265543 [details] [review] window: don't grab server during calc_showing This grab was added in commit caf43a123f40d3a68599ac5453a79759b828e8f0 https://bugzilla.gnome.org/show_bug.cgi?id=381127 to minimize window flickering when switching workspaces. While this grab is held, some signals are emitted to the shell, which can lead to deadlocks (reproduced under Mali binary OpenGLESv2 drivers). Now that we are a compositing window manager, we do not have to worry about flickers, this grab should no longer be necessary.
Review of attachment 265543 [details] [review]: OK.
Comment on attachment 265543 [details] [review] window: don't grab server during calc_showing Thanks, should I also push to gnome-3-10 and wayland?
Yes.
This was pushed earlier, forgot to close this bug.