From c70d8e5585ddcd3c9f5b4adac15eca1f9178d3c5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 19 Jan 2017 17:20:49 -0500 Subject: 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 Signed-off-by: Adam Jackson (cherry picked from commit bccbaf7c113b1300071601879002682ebbe8b1c1) --- composite/compwindow.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'composite') 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) { -- cgit v1.2.3