summaryrefslogtreecommitdiffstats
path: root/xorg/server/xrdpdev
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-07-31 00:41:44 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-07-31 00:41:44 -0700
commit61d51cea601e9c0daf74f404d939aeeaf678c1b1 (patch)
tree848bdbae66561807da4d57a72a2735f667577df3 /xorg/server/xrdpdev
parent2515caa66a37409f32bbfff552bb370b43f9701a (diff)
downloadxrdp-proprietary-61d51cea601e9c0daf74f404d939aeeaf678c1b1.tar.gz
xrdp-proprietary-61d51cea601e9c0daf74f404d939aeeaf678c1b1.zip
xorg driver, PROLOGUE / EPILOGUE changes
Diffstat (limited to 'xorg/server/xrdpdev')
-rw-r--r--xorg/server/xrdpdev/xrdpdev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xorg/server/xrdpdev/xrdpdev.c b/xorg/server/xrdpdev/xrdpdev.c
index 73596ba3..a4fffffc 100644
--- a/xorg/server/xrdpdev/xrdpdev.c
+++ b/xorg/server/xrdpdev/xrdpdev.c
@@ -316,15 +316,13 @@ rdpDeferredRandR(OsTimerPtr timer, CARD32 now, pointer arg)
{
ScreenPtr pScreen;
rrScrPrivPtr pRRScrPriv;
- ScrnInfoPtr pScrn;
rdpPtr dev;
char *envvar;
int width;
int height;
pScreen = (ScreenPtr) arg;
- pScrn = xf86Screens[pScreen->myNum];
- dev = XRDPPTR(pScrn);
+ dev = rdpGetDevFromScreen(pScreen);
LLOGLN(10, ("rdpDeferredRandR:"));
pRRScrPriv = rrGetScrPriv(pScreen);
if (pRRScrPriv == 0)