[Spice-devel] [PATCH x11spice 3/8] Use a proper prototype for CreateWindow() in struct dummyRec.

Henri Verbeet hverbeet at codeweavers.com
Tue Feb 18 19:53:32 UTC 2020


Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
---
 spice-video-dummy/src/dummy.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spice-video-dummy/src/dummy.h b/spice-video-dummy/src/dummy.h
index d287a59..dc4ab92 100644
--- a/spice-video-dummy/src/dummy.h
+++ b/spice-video-dummy/src/dummy.h
@@ -56,7 +56,7 @@ typedef struct dummyRec {
     int cursorFG, cursorBG;
 
     dummy_colors colors[1024];
-    Bool (*CreateWindow)();     /* wrapped CreateWindow */
+    Bool (*CreateWindow)(WindowRec * window);   /* wrapped CreateWindow */
     Bool prop;
 
     Bool glamor;
-- 
2.11.0



More information about the Spice-devel mailing list