aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winrandr.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-25 10:59:51 +0000
committermarha <marha@users.sourceforge.net>2011-02-25 10:59:51 +0000
commit5177dc18bc47fd17459faed21f15ee6d128e5c73 (patch)
tree0c032857ca3085fc866a8e5579e16c59e2e55078 /xorg-server/hw/xwin/winrandr.c
parent27b0ed125725f09242054563bb65ac20cfaa17ff (diff)
downloadvcxsrv-5177dc18bc47fd17459faed21f15ee6d128e5c73.tar.gz
vcxsrv-5177dc18bc47fd17459faed21f15ee6d128e5c73.tar.bz2
vcxsrv-5177dc18bc47fd17459faed21f15ee6d128e5c73.zip
Removed usage of obsolete macros
Diffstat (limited to 'xorg-server/hw/xwin/winrandr.c')
-rw-r--r--xorg-server/hw/xwin/winrandr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/xorg-server/hw/xwin/winrandr.c b/xorg-server/hw/xwin/winrandr.c
index 9e64111b0..680817e9d 100644
--- a/xorg-server/hw/xwin/winrandr.c
+++ b/xorg-server/hw/xwin/winrandr.c
@@ -96,8 +96,8 @@ xf86SetRootClip (ScreenPtr pScreen, Bool enable)
{
RegionPtr borderVisible;
- borderVisible = REGION_CREATE(pScreen, NullBox, 1);
- REGION_SUBTRACT(pScreen, borderVisible,
+ borderVisible = RegionCreate(NullBox, 1);
+ RegionSubtract(borderVisible,
&pWin->borderClip, &pWin->winSize);
pWin->valdata->before.borderVisible = borderVisible;
}
@@ -116,18 +116,18 @@ xf86SetRootClip (ScreenPtr pScreen, Bool enable)
box.y1 = 0;
box.x2 = pScreen->width;
box.y2 = pScreen->height;
- REGION_INIT (pScreen, &pWin->winSize, &box, 1);
- REGION_INIT (pScreen, &pWin->borderSize, &box, 1);
+ RegionInit(&pWin->winSize, &box, 1);
+ RegionInit(&pWin->borderSize, &box, 1);
if (WasViewable)
- REGION_RESET(pScreen, &pWin->borderClip, &box);
+ RegionReset(&pWin->borderClip, &box);
pWin->drawable.width = pScreen->width;
pWin->drawable.height = pScreen->height;
- REGION_BREAK (pWin->drawable.pScreen, &pWin->clipList);
+ RegionBreak(&pWin->clipList);
}
else
{
- REGION_EMPTY(pScreen, &pWin->borderClip);
- REGION_BREAK (pWin->drawable.pScreen, &pWin->clipList);
+ RegionEmpty(&pWin->borderClip);
+ RegionBreak(&pWin->clipList);
}
ResizeChildrenWinSize (pWin, 0, 0, 0, 0);