summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-04-10 14:04:59 +0100
committerDave Airlie <airlied@redhat.com>2012-05-23 15:38:23 +0100
commit06729dbbc804a20242e6499f446acb5d94023c3c (patch)
treeee638eb295c45577ea7e96b060562dabd48def02 /dix
parent9bc53d8cb04af2be3feeebb1b10774c2d599a76b (diff)
xserver: remove index from CloseScreen (API/ABI breakage)
This drops the index from the CloseScreen callback, its always been useless really, since the pScreen contains it. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/main.c b/dix/main.c
index 70dcc946e..7837e9aeb 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -325,7 +325,7 @@ main(int argc, char *argv[], char *envp[])
FreeScratchPixmapsForScreen(i);
FreeGCperDepth(i);
FreeDefaultStipple(i);
- (*screenInfo.screens[i]->CloseScreen) (i, screenInfo.screens[i]);
+ (*screenInfo.screens[i]->CloseScreen) (screenInfo.screens[i]);
dixFreePrivates(screenInfo.screens[i]->devPrivates, PRIVATE_SCREEN);
free(screenInfo.screens[i]);
screenInfo.numScreens = i;