Blame SOURCES/0008-Export-CompositeRedirectSubwindows-and-CompositeUnRe.patch

70130e
From b91512c03726e442854813af60b1e399492f346c Mon Sep 17 00:00:00 2001
70130e
From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= <krh@redhat.com>
70130e
Date: Fri, 18 Sep 2009 22:02:43 -0400
70130e
Subject: [PATCH 08/39] Export CompositeRedirectSubwindows and
70130e
 CompositeUnRedirectSubwindows
70130e
70130e
---
70130e
 composite/compalloc.c    | 11 +++++++++++
70130e
 composite/compositeext.h |  4 ++++
70130e
 2 files changed, 15 insertions(+)
70130e
70130e
diff --git a/composite/compalloc.c b/composite/compalloc.c
70130e
index b7d731e..98b27b1 100644
70130e
--- a/composite/compalloc.c
70130e
+++ b/composite/compalloc.c
70130e
@@ -46,6 +46,7 @@
70130e
 #endif
70130e
 
70130e
 #include "compint.h"
70130e
+#include "compositeext.h"
70130e
 
70130e
 static void
70130e
 compScreenUpdate(ScreenPtr pScreen)
70130e
@@ -411,6 +412,11 @@ compRedirectSubwindows(ClientPtr pClient, WindowPtr pWin, int update)
70130e
     return Success;
70130e
 }
70130e
 
70130e
+int CompositeRedirectSubwindows (WindowPtr pWin, int update)
70130e
+{
70130e
+    return compRedirectSubwindows (serverClient, pWin, update);
70130e
+}
70130e
+
70130e
 /*
70130e
  * Free one of the per-client per-subwindows resources,
70130e
  * which frees one redirect per subwindow
70130e
@@ -482,6 +488,11 @@ compUnredirectSubwindows(ClientPtr pClient, WindowPtr pWin, int update)
70130e
     return BadValue;
70130e
 }
70130e
 
70130e
+int CompositeUnRedirectSubwindows (WindowPtr pWin, int update)
70130e
+{
70130e
+    return compUnredirectSubwindows (serverClient, pWin, update);
70130e
+}
70130e
+
70130e
 /*
70130e
  * Add redirection information for one subwindow (during reparent)
70130e
  */
70130e
diff --git a/composite/compositeext.h b/composite/compositeext.h
70130e
index 0b148f0..a072966 100644
70130e
--- a/composite/compositeext.h
70130e
+++ b/composite/compositeext.h
70130e
@@ -34,6 +34,10 @@
70130e
 extern _X_EXPORT Bool CompositeRegisterAlternateVisuals(ScreenPtr pScreen,
70130e
                                                         VisualID * vids,
70130e
                                                         int nVisuals);
70130e
+extern _X_EXPORT int CompositeRedirectSubwindows(WindowPtr pWin,
70130e
+						 int update);
70130e
+extern _X_EXPORT int CompositeUnRedirectSubwindows (WindowPtr pWin,
70130e
+						    int update);
70130e
 
70130e
 extern _X_EXPORT RESTYPE CompositeClientWindowType;
70130e
 
70130e
-- 
70130e
1.8.3.1
70130e