XReparentWindow man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]



XReparentWindow(3X11)	XLIB FUNCTIONS	  XReparentWindow(3X11)

NAME
       XReparentWindow - reparent windows

SYNTAX
       XReparentWindow(display, w, parent, x, y)
	     Display *display;
	     Window w;
	     Window parent;
	     int x, 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 auto-
       matically performs an UnmapWindow request on it, removes
       it from its current position in the hierarchy, and inserts
       it as the child of the specified parent. The window is
       placed in the stacking order on top with respect to sib-
       ling windows.

       After reparenting the specified window, XReparentWindow
       causes the X server to generate a ReparentNotify 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
       MapWindow request on it.

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

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

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

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

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

X Version 11		Release 6.4				1

XReparentWindow(3X11)	XLIB FUNCTIONS	  XReparentWindow(3X11)

	    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		Release 6.4				2

[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net