summaryrefslogtreecommitdiff
path: root/fb/fbwindow.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-03 16:05:42 -0700
committerKeith Packard <keithp@keithp.com>2012-07-05 13:40:18 -0700
commit7ca32f1c282cb6d4d7255f118a1e2e6f54e6b3fa (patch)
tree8a820396185c6b2741039f4106758c8b14c84a1c /fb/fbwindow.c
parent9d457f9c55f12106ba44c1c9db59d14f978f0ae8 (diff)
Use new screen-specific privates for fb window and gc privates
This ensures that only screens using fb will have this space allocated. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'fb/fbwindow.c')
-rw-r--r--fb/fbwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fbwindow.c b/fb/fbwindow.c
index d27ccd4d5..368c4b883 100644
--- a/fb/fbwindow.c
+++ b/fb/fbwindow.c
@@ -31,7 +31,7 @@
Bool
fbCreateWindow(WindowPtr pWin)
{
- dixSetPrivate(&pWin->devPrivates, fbGetWinPrivateKey(),
+ dixSetPrivate(&pWin->devPrivates, fbGetWinPrivateKey(pWin),
fbGetScreenPixmap(pWin->drawable.pScreen));
if (pWin->drawable.bitsPerPixel == 32)
pWin->drawable.bitsPerPixel =