diff options
author | Adam Jackson <ajax@redhat.com> | 2017-01-19 17:20:49 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-12-20 15:20:43 -0500 |
commit | 06d1c83d04a53f506ae3c8c3c86df5ae779b9ca9 (patch) | |
tree | d39f6caa90274ae7294de6307cc7dc8218f4e9d2 /composite | |
parent | c70d8e5585ddcd3c9f5b4adac15eca1f9178d3c5 (diff) |
composite: Export compIsAlternateVisual
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit ef2345aaa28461a76f77c65240ce5facc180f98e)
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); |