Created attachment 19765 [details] [review] Proposed fix The attached patch prevents a protocol visible side-effect (XVisibilityEvent) on XCompositeRedirectWindow() followed by a XCompositeUnredirectWindow(). This problem shows up in gnome-screensaver with compiz and "unredirect fullscreen windows" enable (ubuntu bug #278112). A VisibilityNotify event is generated (first with obscured and than with unobscured) when the window swithces from redirected to unredirected. This is similar in spirit to http://cgit.freedesktop.org/xorg/xserver/commit/?id=a6a7fadbb03ee99312dfb15ac478ab3c414c1c0b that fixes a break of the keyboard lock.
fixed as commit c8472a74441838e16d0d3414db1fa7fe996868a9!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.