diff options
-rw-r--r-- | src/dummy_driver.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c index 470e125..9d4d5bf 100644 --- a/src/dummy_driver.c +++ b/src/dummy_driver.c @@ -790,8 +790,9 @@ DUMMYCreateWindow(WindowPtr pWin) if (! ValidAtom(VFB_PROP)) VFB_PROP = MakeAtom(VFB_PROP_NAME, strlen(VFB_PROP_NAME), 1); - ret = ChangeWindowProperty(pWinRoot, VFB_PROP, XA_STRING, - 8, PropModeReplace, (int)4, (pointer)"TRUE", FALSE); + ret = dixChangeWindowProperty(serverClient, pWinRoot, VFB_PROP, + XA_STRING, 8, PropModeReplace, + (int)4, (pointer)"TRUE", FALSE); if( ret != Success) ErrorF("Could not set VFB root window property"); dPtr->prop = TRUE; |