diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-02-03 13:38:59 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-02-03 13:38:59 +0100 |
commit | cbd9875e5ca3169d5aaa995e73ec1f67f29ca743 (patch) | |
tree | ecdf41f1034fd1a851265d903be367875846fb1e /nx-X11/programs/Xserver/hw/nxagent | |
parent | 5121188f08680b49deb6a3cc7362222a1797607c (diff) | |
download | nx-libs-cbd9875e5ca3169d5aaa995e73ec1f67f29ca743.tar.gz nx-libs-cbd9875e5ca3169d5aaa995e73ec1f67f29ca743.tar.bz2 nx-libs-cbd9875e5ca3169d5aaa995e73ec1f67f29ca743.zip |
Window.c: add another FIXME
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Window.c | 5 |
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) |