|
|
39c19c |
From 8706f60ab457867c120dd44e812b8fadc2be7179 Mon Sep 17 00:00:00 2001
|
|
|
39c19c |
From: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
39c19c |
Date: Thu, 14 Jan 2016 10:30:40 +1000
|
|
|
39c19c |
Subject: [PATCH xf86-video-dummy] Switch to using dixChangeWindowProperty
|
|
|
39c19c |
|
|
|
39c19c |
eb36924ead40564325aa56d54a973dc8fb4eae83 removed ChangeWindowProperty from the
|
|
|
39c19c |
server.
|
|
|
39c19c |
|
|
|
39c19c |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
39c19c |
Reviewed-by: Jon Turney <jon.turney@dronecode.org.uk>
|
|
|
39c19c |
---
|
|
|
39c19c |
src/dummy_driver.c | 5 +++--
|
|
|
39c19c |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
39c19c |
|
|
|
39c19c |
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
|
|
|
39c19c |
index 470e125..9d4d5bf 100644
|
|
|
39c19c |
--- a/src/dummy_driver.c
|
|
|
39c19c |
+++ b/src/dummy_driver.c
|
|
|
39c19c |
@@ -790,8 +790,9 @@ DUMMYCreateWindow(WindowPtr pWin)
|
|
|
39c19c |
if (! ValidAtom(VFB_PROP))
|
|
|
39c19c |
VFB_PROP = MakeAtom(VFB_PROP_NAME, strlen(VFB_PROP_NAME), 1);
|
|
|
39c19c |
|
|
|
39c19c |
- ret = ChangeWindowProperty(pWinRoot, VFB_PROP, XA_STRING,
|
|
|
39c19c |
- 8, PropModeReplace, (int)4, (pointer)"TRUE", FALSE);
|
|
|
39c19c |
+ ret = dixChangeWindowProperty(serverClient, pWinRoot, VFB_PROP,
|
|
|
39c19c |
+ XA_STRING, 8, PropModeReplace,
|
|
|
39c19c |
+ (int)4, (pointer)"TRUE", FALSE);
|
|
|
39c19c |
if( ret != Success)
|
|
|
39c19c |
ErrorF("Could not set VFB root window property");
|
|
|
39c19c |
dPtr->prop = TRUE;
|
|
|
39c19c |
--
|
|
|
39c19c |
2.9.3
|
|
|
39c19c |
|