}
public Insets updateInsets() {
Insets insets = new Insets(0, 0, 0, 0);
if (!child && !undecorated) {
Int32Pointer x = bridge.createInt32Pointer(1, false);
Int32Pointer y = bridge.createInt32Pointer(1, false);
Int32Pointer w = bridge.createInt32Pointer(1, false);
Int32Pointer h = bridge.createInt32Pointer(1, false);
CLongPointer root = bridge.createCLongPointer(1, false);
Int32Pointer border = bridge.createInt32Pointer(1, false);
Int32Pointer depth = bridge.createInt32Pointer(1, false);
x11.XGetGeometry(display, windowID, root, x, y, w, h, border, depth);
long rootID = root.get(0);
long frameID = getFrameID(windowID, rootID);