summaryrefslogtreecommitdiff
path: root/hw/xwin/winallpriv.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winallpriv.c')
-rw-r--r--hw/xwin/winallpriv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/xwin/winallpriv.c b/hw/xwin/winallpriv.c
index 8fca13926..2c85645c7 100644
--- a/hw/xwin/winallpriv.c
+++ b/hw/xwin/winallpriv.c
@@ -116,7 +116,7 @@ winAllocatePrivates (ScreenPtr pScreen)
*/
Bool
-winInitCmapPrivates (ColormapPtr pcmap)
+winInitCmapPrivates (ColormapPtr pcmap, int index)
{
#if CYGDEBUG
winDebug ("winInitCmapPrivates\n");
@@ -129,7 +129,9 @@ winInitCmapPrivates (ColormapPtr pcmap)
* anything. Perhaps I am misunderstanding the purpose
* of this function.
*/
-
+ /* That's definitely true.
+ * I therefore changed the API and added the index as argument.
+ */
return TRUE;
}