Query: xmovewindow
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XMoveWindow() XMoveWindow() Name XMoveWindow - move a window. Synopsis XMoveWindow(display, w, x, y) Display *display; Window w; int x, y; Arguments display Specifies a connection to an X server; returned from XOpenDisplay(). w Specifies the ID of the window to be moved. x Specify the new x and y coordinates of the upper-left pixel of the window's border (or of the window itself, if it has no border), y relative to the window's parent. Description XMoveWindow() changes the position of the origin of the specified window relative to its parent. XMoveWindow() does not change the mapping state, size, or stacking order of the window, nor does it raise the window. Moving a mapped window will lose its contents if: o Its background_pixmap attribute is ParentRelative. o The window is obscured by nonchildren and no backing store exists. If the contents are lost, exposure events will be generated for the window and any mapped subwindows. Moving a mapped window will generate exposure events on any formerly obscured windows. If the override_redirect attribute of the window is False (see Volume One, Chapter 4, Window Attributes) and the window manager has selected SubstructureRedirectMask on the parent, then a ConfigureRequest event is sent to the window manager, and no further processing is performed. If a client has selected StructureNotifyMask on the window, then a ConfigureNotify event is generated after the move takes place, and the event will contain the final position of the window. This is only useful in the case of top-level windows, since the window manager may modify or disallow moves. Errors BadWindow See Also XCirculateSubwindows(), XCirculateSubwindowsDown(), XCirculateSubwindowsUp(), XConfigureWindow(), XLowerWindow(), XMoveResizeWindow(), XQueryTree(), XRaiseWindow(), XReparentWindow(), XResizeWindow(), XRestackWindows(). Xlib - Window Manipulation XMoveWindow()