From 88fabe53af41ed936db0be5a3fc46936c6e818e5 Mon Sep 17 00:00:00 2001 From: Wouter van Kesteren Date: Sun, 20 Dec 2015 23:24:56 +0100 Subject: [PATCH] ChangeWindowProperty -> dixChangeWindowProperty The dix version seems to have been introduced in 2007: http://cgit.freedesktop.org/xorg/xserver/commit/include/property.h?id=1b766ffc0647d5e9a9bf6938d33548d977b5535e So i dont think we need and #ifdef magic. --- src/dummy_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dummy_driver.c b/src/dummy_driver.c index 470e125..ae80ecb 100644 --- a/src/dummy_driver.c +++ b/src/dummy_driver.c @@ -790,7 +790,7 @@ 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, + 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"); -- 2.6.4