dmx: disable Get/SetWindowPixmap, we don't support composite/redirected windows

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Kevin E Martin 2009-09-22 11:41:33 +10:00 committed by Peter Hutterer
parent fcdc1d78cc
commit 20fb8c2e2f

View File

@ -282,6 +282,10 @@ Bool dmxScreenInit(int idx, ScreenPtr pScreen, int argc, char *argv[])
(void)dmxPictureInit(pScreen, 0, 0);
#endif
/* Not yet... */
pScreen->GetWindowPixmap = NULL;
pScreen->SetWindowPixmap = NULL;
if (dmxShadowFB && !shadowInit(pScreen, dmxShadowUpdateProc, NULL))
return FALSE;