diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-12-28 21:02:14 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-01-05 22:52:53 +0100 |
commit | 427b7b9777727df4115e3e9e6e63d5176fb0b495 (patch) | |
tree | 1d319a61f55dd6132c17b5e7cb45b4585c3b6160 /nx-X11/programs/Xserver/hw/nxagent/Windows.h | |
parent | a261b72435d7d30dbe36529a51fc53f6ade34dff (diff) | |
download | nx-libs-427b7b9777727df4115e3e9e6e63d5176fb0b495.tar.gz nx-libs-427b7b9777727df4115e3e9e6e63d5176fb0b495.tar.bz2 nx-libs-427b7b9777727df4115e3e9e6e63d5176fb0b495.zip |
nxagent: Use XlibAtom data type where appropriate
XlibAtom should be used wherever remote atoms are handled. This is
important as Xlib data types and server data types of the same name do
not always have identical sizes.
See also https://lists.freedesktop.org/archives/xorg-devel/2015-August/047245.html
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Windows.h')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Windows.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Windows.h b/nx-X11/programs/Xserver/hw/nxagent/Windows.h index 35d686a33..c742577f5 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Windows.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Windows.h @@ -177,7 +177,9 @@ do\ WindowPtr nxagentWindowPtr(Window window); -extern Atom serverCutProperty; +#ifdef XlibAtom +extern XlibAtom serverCutProperty; +#endif /* * If the rectangles in an exposed region exceed |