diff options
Diffstat (limited to 'src/gx_randr.c')
-rw-r--r-- | src/gx_randr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gx_randr.c b/src/gx_randr.c index 2176019..5b83094 100644 --- a/src/gx_randr.c +++ b/src/gx_randr.c @@ -181,7 +181,7 @@ GXRandRSetMode(ScreenPtr pScreen, #endif if (pRoot) - (*pScrni->EnableDisableFBAccess) (pScreen->myNum, FALSE); + (*pScrni->EnableDisableFBAccess) (XF86_ENABLEDISABLEFB_ARG(pScrni, FALSE)); if (useVirtual) { pScrni->virtualX = pRandr->virtualX; @@ -236,7 +236,7 @@ GXRandRSetMode(ScreenPtr pScreen, xf86SetViewport(pScreen, 0, 0); if (pRoot) - (*pScrni->EnableDisableFBAccess) (pScreen->myNum, TRUE); + (*pScrni->EnableDisableFBAccess) (XF86_ENABLEDISABLEFB_ARG(pScrni, TRUE)); return ret; } |