CLongPointer parent = bridge.createCLongPointer(1, false);
PointerPointer children = bridge.createPointerPointer(1, true);
Int32Pointer count = bridge.createInt32Pointer(1, false);
if (x11.XQueryTree(display, windowID, root, parent, children, count) != 0) {
final VoidPointer data = children.get(0);
if (data != null) {
x11.XFree(data);
}