diff options
author | Adam Jackson <ajax@redhat.com> | 2017-01-19 17:20:49 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-01-25 11:27:06 -0500 |
commit | ef2345aaa28461a76f77c65240ce5facc180f98e (patch) | |
tree | e1299d4bd9498ad0a989272e88991cae3113760f /composite | |
parent | bccbaf7c113b1300071601879002682ebbe8b1c1 (diff) | |
download | xserver-ef2345aaa28461a76f77c65240ce5facc180f98e.tar.gz |
composite: Export compIsAlternateVisual
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'composite')
-rw-r--r-- | composite/compositeext.h | 2 | ||||
-rw-r--r-- | composite/compwindow.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/composite/compositeext.h b/composite/compositeext.h index b96cb1d68..5aad0735e 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 fa7d5749f..367f23eb7 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); |