summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdpRandR.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-07-23 20:57:38 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-07-23 20:57:38 -0700
commit17bf2abe309c5e146ae53c25e634089842e847f1 (patch)
tree2253315bda15a94ce587ac8afcabbf2523d2c179 /xorg/server/module/rdpRandR.c
parentaf8ca90784389f5b24df8721b34155b4a3ac12dd (diff)
downloadxrdp-proprietary-17bf2abe309c5e146ae53c25e634089842e847f1.tar.gz
xrdp-proprietary-17bf2abe309c5e146ae53c25e634089842e847f1.zip
xorg driver, include cleanup
Diffstat (limited to 'xorg/server/module/rdpRandR.c')
-rw-r--r--xorg/server/module/rdpRandR.c42
1 files changed, 2 insertions, 40 deletions
diff --git a/xorg/server/module/rdpRandR.c b/xorg/server/module/rdpRandR.c
index fd080184..2255d33a 100644
--- a/xorg/server/module/rdpRandR.c
+++ b/xorg/server/module/rdpRandR.c
@@ -69,29 +69,8 @@ Bool
rdpRRSetConfig(ScreenPtr pScreen, Rotation rotateKind, int rate,
RRScreenSizePtr pSize)
{
- ScrnInfoPtr pScrn;
- rdpPtr dev;
- rrScrPrivPtr pRRScrPriv;
- Bool rv;
-
LLOGLN(0, ("rdpRRSetConfig:"));
- rv = TRUE;
- pScrn = xf86Screens[pScreen->myNum];
- dev = XRDPPTR(pScrn);
-#if 0
- pRRScrPriv = rrGetScrPriv(pScreen);
- if (pRRScrPriv != 0)
- {
- if (dev->rrSetConfig != 0)
- {
- LLOGLN(0, ("rdpRRSetConfig: here"));
- pRRScrPriv->rrSetConfig = dev->rrSetConfig;
- rv = pRRScrPriv->rrSetConfig(pScreen, rotateKind, rate, pSize);
- pRRScrPriv->rrSetConfig = rdpRRSetConfig;
- }
- }
-#endif
- return rv;
+ return TRUE;
}
/******************************************************************************/
@@ -102,32 +81,15 @@ rdpRRGetInfo(ScreenPtr pScreen, Rotation *pRotations)
int height;
ScrnInfoPtr pScrn;
rdpPtr dev;
- rrScrPrivPtr pRRScrPriv;
- Bool rv;
LLOGLN(0, ("rdpRRGetInfo:"));
- rv = TRUE;
pScrn = xf86Screens[pScreen->myNum];
dev = XRDPPTR(pScrn);
-#if 0
- pRRScrPriv = rrGetScrPriv(pScreen);
- if (pRRScrPriv != 0)
- {
- if (dev->rrGetInfo != 0)
- {
- LLOGLN(0, ("rdpRRGetInfo: here"));
- pRRScrPriv->rrGetInfo = dev->rrGetInfo;
- rv = pRRScrPriv->rrGetInfo(pScreen, pRotations);
- pRRScrPriv->rrGetInfo = rdpRRGetInfo;
- }
- }
-#else
*pRotations = RR_Rotate_0;
width = dev->width;
height = dev->height;
rdpRRRegisterSize(pScreen, width, height);
-#endif
- return rv;
+ return TRUE;
}
/******************************************************************************/