[beryl-commits] Animation plugin: Changes to 'master' (badae017e48c691ae45cbc817cbe1e865fe1af53)

onestone at server.beryl-project.org onestone at server.beryl-project.org
Fri Jun 1 01:42:25 CEST 2007


New commits:
commit badae017e48c691ae45cbc817cbe1e865fe1af53
Author: Dennis Kasprzyk <onestone at opencompositing.org>
Date:   Fri Jun 1 02:39:24 2007 +0200

    Applied lastest core changes


 animation.c |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)


Modified: compcomm/plugins/animation/animation.c
===================================================================
--- compcomm/plugins/animation/animation.c
+++ compcomm/plugins/animation/animation.c
@@ -558,7 +558,7 @@ typedef struct _AnimScreen
 
 	PreparePaintScreenProc preparePaintScreen;
 	DonePaintScreenProc donePaintScreen;
-	PaintScreenProc paintScreen;
+	PaintOutputProc paintOutput;
 	PaintWindowProc paintWindow;
 	DamageWindowRectProc damageWindowRect;
 	AddWindowGeometryProc addWindowGeometry;
@@ -8238,10 +8238,11 @@ static void animWindowUngrabNotify(CompWindow * w)
 }
 
 static Bool
-animPaintScreen(CompScreen * s,
+animPaintOutput(CompScreen * s,
 				const ScreenPaintAttrib * sAttrib,
 				const CompTransform    *transform,
-				Region region, int output, unsigned int mask)
+				Region region, CompOutput *output, 
+				unsigned int mask)
 {
 	Bool status;
 
@@ -8270,9 +8271,9 @@ animPaintScreen(CompScreen * s,
 		}
 		mask |= PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS_MASK;
 	}
-	UNWRAP(as, s, paintScreen);
- 	status = (*s->paintScreen) (s, sAttrib, transform, region, output, mask);
-	WRAP(as, s, paintScreen, animPaintScreen);
+	UNWRAP(as, s, paintOutput);
+ 	status = (*s->paintOutput) (s, sAttrib, transform, region, output, mask);
+	WRAP(as, s, paintOutput, animPaintOutput);
 
 	CompWindow *w;
 	if (as->aWinWasRestackedJustNow)
@@ -8433,7 +8434,7 @@ static Bool animInitScreen(CompPlugin * p, CompScreen * s)
 
 	WRAP(as, s, preparePaintScreen, animPreparePaintScreen);
 	WRAP(as, s, donePaintScreen, animDonePaintScreen);
-	WRAP(as, s, paintScreen, animPaintScreen);
+	WRAP(as, s, paintOutput, animPaintOutput);
 	WRAP(as, s, paintWindow, animPaintWindow);
 	WRAP(as, s, damageWindowRect, animDamageWindowRect);
 	WRAP(as, s, addWindowGeometry, animAddWindowGeometry);
@@ -8462,7 +8463,7 @@ static void animFiniScreen(CompPlugin * p, CompScreen * s)
 
 	UNWRAP(as, s, preparePaintScreen);
 	UNWRAP(as, s, donePaintScreen);
-	UNWRAP(as, s, paintScreen);
+	UNWRAP(as, s, paintOutput);
 	UNWRAP(as, s, paintWindow);
 	UNWRAP(as, s, damageWindowRect);
 	UNWRAP(as, s, addWindowGeometry);



More information about the commits mailing list