summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2017-01-19 17:20:49 -0500
committerAdam Jackson <ajax@redhat.com>2017-12-20 15:20:43 -0500
commitc70d8e5585ddcd3c9f5b4adac15eca1f9178d3c5 (patch)
tree4c519c6844aa6ca607242cfd54432f4aa8334dac
parentdbf97534de61539873717b8e0fcc03f1be6362f8 (diff)
composite: Remove a misleading comment
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. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com> (cherry picked from commit bccbaf7c113b1300071601879002682ebbe8b1c1)
-rw-r--r--composite/compwindow.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/composite/compwindow.c b/composite/compwindow.c
index bcd230c37..fa7d5749f 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)
{