aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/dix
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-12-17 23:20:03 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-06 00:50:30 +0100
commita894fa8bd8c06280cdf47dd0d01fcbda13e0df1f (patch)
tree8284589c1c06eef3761cc4c206251070ec7ba466 /nx-X11/programs/Xserver/dix
parent11d9b74b61492503e6a39346b8d171d4cf18b811 (diff)
downloadnx-libs-a894fa8bd8c06280cdf47dd0d01fcbda13e0df1f.tar.gz
nx-libs-a894fa8bd8c06280cdf47dd0d01fcbda13e0df1f.tar.bz2
nx-libs-a894fa8bd8c06280cdf47dd0d01fcbda13e0df1f.zip
NXproperty.c: simplify ChangeWindowProperty
Diffstat (limited to 'nx-X11/programs/Xserver/dix')
-rw-r--r--nx-X11/programs/Xserver/dix/property.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/dix/property.c b/nx-X11/programs/Xserver/dix/property.c
index 7f25a5c55..f46b53f7c 100644
--- a/nx-X11/programs/Xserver/dix/property.c
+++ b/nx-X11/programs/Xserver/dix/property.c
@@ -253,11 +253,18 @@ ProcChangeProperty(ClientPtr client)
else
return client->noClientException;
}
+#endif /* NXAGENT_SERVER */
int
+#ifdef NXAGENT_SERVER
+Xorg_ChangeWindowProperty(WindowPtr pWin, Atom property, Atom type, int format,
+ int mode, unsigned long len, void * value,
+ Bool sendevent)
+#else
ChangeWindowProperty(WindowPtr pWin, Atom property, Atom type, int format,
int mode, unsigned long len, void * value,
Bool sendevent)
+#endif
{
PropertyPtr pProp;
int sizeInBytes;
@@ -367,7 +374,6 @@ ChangeWindowProperty(WindowPtr pWin, Atom property, Atom type, int format,
}
return(Success);
}
-#endif /* NXAGENT_SERVER */
int
DeleteProperty(WindowPtr pWin, Atom propName)