summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-05-21 13:53:19 -0400
committerAdam Jackson <ajax@redhat.com>2014-05-21 13:53:19 -0400
commitfa9aabe95a65c4dd12008e16ad66d5c773a7993a (patch)
treee4fdb988bf2ac55645fe681cba4941023950afd4
parentf2b7c408435c3f2dbe27acb070b03e73aff9f7b3 (diff)
Use own thunk functions instead of shadow*Weak
I plan to remove the Weak functions from a future server. Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/wsfb_driver.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/wsfb_driver.c b/src/wsfb_driver.c
index c902047..4ed2347 100644
--- a/src/wsfb_driver.c
+++ b/src/wsfb_driver.c
@@ -663,6 +663,18 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags)
return TRUE;
}
+static void
+wfsbUpdateRotatePacked(ScreenPtr pScreen, shadowBufPtr pBuf)
+{
+ shadowUpdateRotatePacked(pScreen, pBuf);
+}
+
+static void
+wsfbUpdatePacked(ScreenPtr pScreen, shadowBufPtr pBuf)
+{
+ shadowUpdatePacked(pScreen, pBuf);
+}
+
static Bool
WsfbCreateScreenResources(ScreenPtr pScreen)
{
@@ -681,7 +693,7 @@ WsfbCreateScreenResources(ScreenPtr pScreen)
pPixmap = pScreen->GetScreenPixmap(pScreen);
if (!shadowAdd(pScreen, pPixmap, fPtr->rotate ?
- shadowUpdateRotatePackedWeak() : shadowUpdatePackedWeak(),
+ wsfbUpdateRotatePacked : wsfbUpdatePacked,
WsfbWindowLinear, fPtr->rotate, NULL)) {
return FALSE;
}