diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-09-18 22:02:43 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2009-09-18 22:02:43 -0400 |
commit | 26b8fe8649eccd0bb3ed1b21086e7813d20963f8 (patch) | |
tree | 35a63b4f18c0216ca0ff88b1f32a5548824833d6 | |
parent | a0d3516e7a8658e7ad62584cf3e92975cb3d71a8 (diff) |
Export CompositeRedirectSubwindows
-rw-r--r-- | composite/compalloc.c | 6 | ||||
-rw-r--r-- | composite/compositeext.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/composite/compalloc.c b/composite/compalloc.c index 3f427dbe1..046049b2a 100644 --- a/composite/compalloc.c +++ b/composite/compalloc.c @@ -52,6 +52,7 @@ #endif #include "compint.h" +#include "compositeext.h" static void compReportDamage (DamagePtr pDamage, RegionPtr pRegion, void *closure) @@ -359,6 +360,11 @@ compRedirectSubwindows (ClientPtr pClient, WindowPtr pWin, int update) return Success; } +int CompositeRedirectSubwindows (WindowPtr pWin, int update) +{ + return compRedirectSubwindows (serverClient, pWin, update); +} + /* * Free one of the per-client per-subwindows resources, * which frees one redirect per subwindow diff --git a/composite/compositeext.h b/composite/compositeext.h index b20bab158..c1e915ae1 100644 --- a/composite/compositeext.h +++ b/composite/compositeext.h @@ -34,5 +34,7 @@ extern _X_EXPORT Bool CompositeRegisterAlternateVisuals(ScreenPtr pScreen, VisualID *vids, int nVisuals); +extern _X_EXPORT int CompositeRedirectSubwindows(WindowPtr pWin, + int update); #endif /* _COMPOSITEEXT_H_ */ |