[PATCH xserver 2/4] composite: Export compIsAlternateVisual

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


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 composite/compositeext.h | 2 ++
 composite/compwindow.c   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/composite/compositeext.h b/composite/compositeext.h
index b96cb1d..5aad073 100644
--- a/composite/compositeext.h
+++ b/composite/compositeext.h
@@ -39,6 +39,8 @@ extern _X_EXPORT Bool CompositeRegisterImplicitRedirectionException(ScreenPtr pS
                                                                     VisualID parentVisual,
                                                                     VisualID winVisual);
 
+
+extern _X_EXPORT Bool compIsAlternateVisual(ScreenPtr pScreen, XID visual);
 extern _X_EXPORT RESTYPE CompositeClientWindowType;
 
 #endif                          /* _COMPOSITEEXT_H_ */
diff --git a/composite/compwindow.c b/composite/compwindow.c
index fa7d574..367f23e 100644
--- a/composite/compwindow.c
+++ b/composite/compwindow.c
@@ -320,7 +320,7 @@ compClipNotify(WindowPtr pWin, int dx, int dy)
     }
 }
 
-static Bool
+Bool
 compIsAlternateVisual(ScreenPtr pScreen, XID visual)
 {
     CompScreenPtr cs = GetCompScreen(pScreen);
-- 
2.9.3



More information about the xorg-devel mailing list