This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XReparentWindow(3)                             XLIB FUNCTIONS                             XReparentWindow(3)



NAME
       XReparentWindow - reparent windows

SYNTAX
       int XReparentWindow(Display *display, Window w, Window parent, int x, int y);

ARGUMENTS
       display   Specifies the connection to the X server.

       parent    Specifies the parent window.

       w         Specifies the window.

       x
       y         Specify the x and y coordinatesof the position in the new parent window.

DESCRIPTION
       If the specified window is mapped, XReparentWindow automatically performs an UnmapWindow request on
       it, removes it from its current position in the hierarchy, and inserts it as the child of the speci-fied specified
       fied parent.  The window is placed in the stacking order on top with respect to sibling windows.

       After reparenting the specified window, XReparentWindow causes the X server to generate a ReparentNo-tify ReparentNotify
       tify event.  The override_redirect member returned in this event is set to the window's corresponding
       attribute.  Window manager clients usually should ignore this window if this member is set to True.
       Finally, if the specified window was originally mapped, the X server automatically performs a MapWin-dow MapWindow
       dow request on it.

       The X server performs normal exposure processing on formerly obscured windows.  The X server might
       not generate Expose events for regions from the initial UnmapWindow request that are immediately
       obscured by the final MapWindow request.  A BadMatch error results if:

           The new parent window is not on the same screen as the old parent window.

           The new parent window is the specified window or an inferior of the specified window.

           The new parent is InputOnly, and the window is not.

           The specified window has a ParentRelative background, and the new parent window is not the same
            depth as the specified window.

       XReparentWindow can generate BadMatch and BadWindow errors.

DIAGNOSTICS
       BadWindow A value for a Window argument does not name a defined Window.

SEE ALSO
       XChangeSaveSet(3X11)
       Xlib - C Language X Interface



X Version 11                                    libX11 1.2.1                              XReparentWindow(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...