aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-02-03 13:38:59 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-02-03 13:38:59 +0100
commitcbd9875e5ca3169d5aaa995e73ec1f67f29ca743 (patch)
treeecdf41f1034fd1a851265d903be367875846fb1e
parent5121188f08680b49deb6a3cc7362222a1797607c (diff)
downloadnx-libs-cbd9875e5ca3169d5aaa995e73ec1f67f29ca743.tar.gz
nx-libs-cbd9875e5ca3169d5aaa995e73ec1f67f29ca743.tar.bz2
nx-libs-cbd9875e5ca3169d5aaa995e73ec1f67f29ca743.zip
Window.c: add another FIXME
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index ba93c96cb..5f12fd48a 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -3087,6 +3087,11 @@ static void nxagentReconnectWindow(void * param0, XID param1, void * data_buffer
#endif
/* FIXME: use XAllocSizeHints() */
+ /* FIXME: all this copying is only done because the first
+ element of the XSizeHints struct is a long which is of
+ different size on 32bit vs. 64bit platforms. We should
+ rewrite this to better readable and probably more robust
+ code */
#ifdef _XSERVER64
data64 = (unsigned char *) malloc(sizeof(XSizeHints) + 4);
if (data64)