[x11spice,03/10] Use a proper prototype for CreateWindow() in struct dummyRec.

Submitted by Jeremy White on Sept. 16, 2019, 7:13 p.m.

Details

Message ID 20190916191333.27139-4-jwhite@codeweavers.com
State New
Headers show
Series "Provide a simulated set of outputs and crtcs" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Jeremy White Sept. 16, 2019, 7:13 p.m.
From: Henri Verbeet <hverbeet@codeweavers.com>

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

Patch hide | download patch | download mbox

diff --git a/spice-video-dummy/src/dummy.h b/spice-video-dummy/src/dummy.h
index d287a59a..dc4ab92f 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;