nxagent: use XAllocSizeHints() instead of XSizeHints struct
This is the preferred way. It ensures, that
a) the data is zeroed
b) a correct size in case xlib is changing the size of the structure in future releases
Showing
Please
register
or
sign in
to comment