aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-02-03 13:38:59 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-02-03 14:52:53 +0100
commit6d8ccec751dd7de462936cd2b0920867055f0e2a (patch)
treea17fe78c764ec907fb9022064bd9d598b027ba28 /nx-X11
parent82028465cd5b92ad7c5bffd6333ee57e13ce8045 (diff)
downloadnx-libs-6d8ccec751dd7de462936cd2b0920867055f0e2a.tar.gz
nx-libs-6d8ccec751dd7de462936cd2b0920867055f0e2a.tar.bz2
nx-libs-6d8ccec751dd7de462936cd2b0920867055f0e2a.zip
Window.c: add another FIXME
Diffstat (limited to 'nx-X11')
-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)