Chris Robinson <[EMAIL PROTECTED]> writes: > With the child being parented to the main window, a BadWindow error sometimes > crops up on XDestroyWindow for the X11 child. I couldn't see why, but > parenting it to the root_window works. Would that be due to using gdi_display > for creating/destroying the child?
Maybe, but in any case making it a child of the root window is wrong. > Is it safe to call XMoveResizeWindow even if the size didn't change, and have > X make it a no-op (or at least be negligible for processing time)? Calling to > resize the child window every time the hwnd simply moves (or whenever it > thinks it resized/moved) can cause it to be done unnecessarilly often. No, you have all the info you need in SetWindowPos, there's no reason to guess. -- Alexandre Julliard [EMAIL PROTECTED]