[PATCH xserver 1/4] composite: Remove a misleading comment

Adam Jackson ajax at redhat.com
Thu Jan 19 22:23:56 UTC 2017


This comment is above compIsAlternateVisual, which used to be the only
thing determining whether implicit redirect was needed. It's not anymore
due to the redirection exception list. That job is now performed by
compImplicitRedirect, whose code is self-explanitory.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 composite/compwindow.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/composite/compwindow.c b/composite/compwindow.c
index bcd230c..fa7d574 100644
--- a/composite/compwindow.c
+++ b/composite/compwindow.c
@@ -320,11 +320,6 @@ compClipNotify(WindowPtr pWin, int dx, int dy)
     }
 }
 
-/*
- * Returns TRUE if the window needs server-provided automatic redirect,
- * which is true if the child and parent aren't both regular or ARGB visuals
- */
-
 static Bool
 compIsAlternateVisual(ScreenPtr pScreen, XID visual)
 {
-- 
2.9.3



More information about the xorg-devel mailing list