[Xorg-commit] xc/programs/Xserver/Xext xinerama.c,1.1.4.3,1.1.4.4
Kaleb Keithley
xorg-commit at pdx.freedesktop.org
Mon Jan 5 19:47:39 EET 2004
Committed by: kaleb
Update of /cvs/xorg/xc/programs/Xserver/Xext
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/programs/Xserver/Xext
Modified Files:
Tag: XORG-CURRENT
xinerama.c
Log Message:
Use REGION_NULL instead of REGION_INIT (because NullBox is a macro)
Index: xinerama.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/Xext/xinerama.c,v
retrieving revision 1.1.4.3
retrieving revision 1.1.4.4
diff -u -d -r1.1.4.3 -r1.1.4.4
--- xinerama.c 18 Dec 2003 19:29:12 -0000 1.1.4.3
+++ xinerama.c 5 Jan 2004 17:47:37 -0000 1.1.4.4
@@ -502,7 +502,7 @@
return;
}
- REGION_INIT(pScreen, &XineramaScreenRegion, NullBox, 1);
+ REGION_NULL(pScreen, &XineramaScreenRegion);
for (i = 0; i < XineramaNumScreens; i++) {
BoxRec TheBox;
@@ -1038,7 +1038,7 @@
SrcBox.y2 = SrcBox.y1 + height;
REGION_INIT(pScreen, &SrcRegion, &SrcBox, 1);
- REGION_INIT(pScreen, &GrabRegion, NullBox, 1);
+ REGION_NULL(pScreen, &GrabRegion);
depth = (format == XYPixmap) ? 1 : pDraw->depth;
More information about the xorg-commit
mailing list