With the X server patches [1] and [2] this avoid blinkng when a
fullscreen window is unredirected.

[1] http://lists.x.org/archives/xorg-devel/2011-April/021450.html
[2] http://lists.x.org/archives/xorg-devel/2011-May/022015.html
---
 src/window.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/window.c b/src/window.c
index 6674643..d40f614 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5173,15 +5173,15 @@ unredirectWindow (CompWindow *w)
 
     releaseWindow (w);
 
-    XCompositeUnredirectWindow (w->screen->display->display, w->id,
-                               CompositeRedirectManual);
-
     w->redirected   = FALSE;
     w->overlayWindow = TRUE;
     w->screen->overlayWindowCount++;
 
     if (w->screen->overlayWindowCount > 0)
        updateOutputWindow (w->screen);
+
+    XCompositeUnredirectWindow (w->screen->display->display, w->id,
+                               CompositeRedirectManual);
 }
 
 void
-- 
1.7.3.4

_______________________________________________
dev mailing list
[email protected]
http://lists.compiz.org/mailman/listinfo/dev

Reply via email to