Switch to using dixChangeWindowProperty

eb36924ead40564325aa56d54a973dc8fb4eae83 removed ChangeWindowProperty from the
server.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
This commit is contained in:
Peter Hutterer 2016-01-14 10:30:40 +10:00
parent 29433844c8
commit 8706f60ab4

View File

@ -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;