[xserver-commit] xserver/damageext damageext.c,1.1.2.1,1.1.2.2 damageextint.h,1.1.2.1,1.1.2.2
Keith Packard
xserver-commit@pdx.freedesktop.org
Fri, 24 Oct 2003 22:40:50 -0700
Committed by: keithp
Update of /cvs/xserver/xserver/damageext
In directory pdx:/tmp/cvs-serv2539/damageext
Modified Files:
Tag: xfixes_2_branch
damageext.c damageextint.h
Log Message:
* damageext/damageext.c: (DamageExtensionInit):
* damageext/damageextint.h:
Make sure miext/damage is initialized when enabling damage
extension
Index: damageext.c
===================================================================
RCS file: /cvs/xserver/xserver/damageext/Attic/damageext.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- damageext.c 24 Oct 2003 06:35:24 -0000 1.1.2.1
+++ damageext.c 25 Oct 2003 05:40:48 -0000 1.1.2.2
@@ -417,6 +417,10 @@
DamageExtensionInit(void)
{
ExtensionEntry *extEntry;
+ int s;
+
+ for (s = 0; s < screenInfo.numScreens; s++)
+ DamageSetup (screenInfo.screens[s]);
DamageExtType = CreateNewResourceType (FreeDamageExt);
if (!DamageExtType)
Index: damageextint.h
===================================================================
RCS file: /cvs/xserver/xserver/damageext/Attic/damageextint.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- damageextint.h 24 Oct 2003 06:35:24 -0000 1.1.2.1
+++ damageextint.h 25 Oct 2003 05:40:48 -0000 1.1.2.2
@@ -35,6 +35,7 @@
#include <X11/extensions/damageproto.h>
#include "windowstr.h"
#include "selection.h"
+#include "scrnintstr.h"
#include "damageext.h"
#include "damage.h"
#include "xfixes.h"