aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/randr/randr.c
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-04-10 15:01:39 +0200
committerMihai Moldovan <ionic@ionic.de>2017-04-10 15:01:39 +0200
commit5421dd444422df233c2bba82b994ce8f8d677044 (patch)
tree9df00122916a65b8c53ee37129628efd916029f9 /nx-X11/programs/Xserver/randr/randr.c
parentab3974f22b213a64316bf4384c3fd6d92c005f58 (diff)
parent93ea74e53e13890ea2f85ea57e9455d0eb2525f4 (diff)
downloadnx-libs-5421dd444422df233c2bba82b994ce8f8d677044.tar.gz
nx-libs-5421dd444422df233c2bba82b994ce8f8d677044.tar.bz2
nx-libs-5421dd444422df233c2bba82b994ce8f8d677044.zip
Merge branch 'sunweaver-pr/remove-index-from-CloseScreen-ABI-backport' into 3.6.x
Attributes GH PR #411: https://github.com/ArcticaProject/nx-libs/pull/411
Diffstat (limited to 'nx-X11/programs/Xserver/randr/randr.c')
-rw-r--r--nx-X11/programs/Xserver/randr/randr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/randr/randr.c b/nx-X11/programs/Xserver/randr/randr.c
index e991af340..c742cf6e0 100644
--- a/nx-X11/programs/Xserver/randr/randr.c
+++ b/nx-X11/programs/Xserver/randr/randr.c
@@ -118,9 +118,6 @@ RRClientCallback(CallbackListPtr *list, void *closure, void *data)
static Bool
RRCloseScreen(
-#ifdef NXAGENT_SERVER
- int i,
-#endif
ScreenPtr pScreen)
{
rrScrPriv(pScreen);
@@ -141,7 +138,7 @@ RRCloseScreen(
free(pScrPriv->outputs);
free(pScrPriv);
RRNScreens -= 1; /* ok, one fewer screen with RandR running */
- return (*pScreen->CloseScreen) (i, pScreen);
+ return (*pScreen->CloseScreen) (pScreen);
}
static void