aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-01-30 16:10:23 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-01-30 17:02:03 +0100
commitd627e948f558f4210feb54c674e7c112b1d6a2e7 (patch)
tree986b74fda1eaed525b4425c61b726e143508dae7 /nx-X11/programs/Xserver/dix
parentb8b1edb2b3507386de9c9fbe6f7b0f0347a22001 (diff)
downloadnx-libs-d627e948f558f4210feb54c674e7c112b1d6a2e7.tar.gz
nx-libs-d627e948f558f4210feb54c674e7c112b1d6a2e7.tar.bz2
nx-libs-d627e948f558f4210feb54c674e7c112b1d6a2e7.zip
NXproperty.c, dix.c: simplify ProcDeleteProperty()
by calling the dix version after a check
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r--nx-X11/programs/Xserver/dix/property.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/dix/property.c b/nx-X11/programs/Xserver/dix/property.c
index f0bfe1e65..37af8d592 100644
--- a/nx-X11/programs/Xserver/dix/property.c
+++ b/nx-X11/programs/Xserver/dix/property.c
@@ -661,9 +661,12 @@ ProcListProperties(ClientPtr client)
return(client->noClientException);
}
-#ifndef NXAGENT_SERVER
int
+#ifdef NXAGENT_SERVER
+xorg_ProcDeleteProperty(register ClientPtr client)
+#else
ProcDeleteProperty(register ClientPtr client)
+#endif
{
WindowPtr pWin;
REQUEST(xDeletePropertyReq);
@@ -699,4 +702,3 @@ ProcDeleteProperty(register ClientPtr client)
else
return(result);
}
-#endif