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:
parent
29433844c8
commit
8706f60ab4
@ -790,8 +790,9 @@ DUMMYCreateWindow(WindowPtr pWin)
|
|||||||
if (! ValidAtom(VFB_PROP))
|
if (! ValidAtom(VFB_PROP))
|
||||||
VFB_PROP = MakeAtom(VFB_PROP_NAME, strlen(VFB_PROP_NAME), 1);
|
VFB_PROP = MakeAtom(VFB_PROP_NAME, strlen(VFB_PROP_NAME), 1);
|
||||||
|
|
||||||
ret = ChangeWindowProperty(pWinRoot, VFB_PROP, XA_STRING,
|
ret = dixChangeWindowProperty(serverClient, pWinRoot, VFB_PROP,
|
||||||
8, PropModeReplace, (int)4, (pointer)"TRUE", FALSE);
|
XA_STRING, 8, PropModeReplace,
|
||||||
|
(int)4, (pointer)"TRUE", FALSE);
|
||||||
if( ret != Success)
|
if( ret != Success)
|
||||||
ErrorF("Could not set VFB root window property");
|
ErrorF("Could not set VFB root window property");
|
||||||
dPtr->prop = TRUE;
|
dPtr->prop = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user