summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxscrinit.c
diff options
context:
space:
mode:
authorKevin E Martin <kem@redhat.com>2009-09-22 11:41:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-22 11:48:09 +1000
commit20fb8c2e2fccb28c1b89e6e2a5c685e1287baedb (patch)
tree6b5a108475f86f2888512142d1f203608eaa774a /hw/dmx/dmxscrinit.c
parentfcdc1d78cca3b8bb6b77d53eda7e21d649df6943 (diff)
dmx: disable Get/SetWindowPixmap, we don't support composite/redirected windows
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/dmx/dmxscrinit.c')
-rw-r--r--hw/dmx/dmxscrinit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/dmx/dmxscrinit.c b/hw/dmx/dmxscrinit.c
index b5afb5839..cab212d35 100644
--- a/hw/dmx/dmxscrinit.c
+++ b/hw/dmx/dmxscrinit.c
@@ -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;