1XReparentEvent(3)               XLIB FUNCTIONS               XReparentEvent(3)
2
3
4

NAME

6       XReparentEvent - ReparentNotify event structure
7

STRUCTURES

9       The structure for ReparentNotify events contains:
10
11       typedef struct {
12               int type;       /* ReparentNotify */
13               unsigned long serial;   /* # of last request processed by server */
14               Bool send_event;        /* true if this came from a SendEvent request */
15               Display *display;       /* Display the event was read from */
16               Window event;
17               Window window;
18               Window parent;
19               int x, y;
20               Bool override_redirect;
21       } XReparentEvent;
22
23       When you receive this event, the structure members are set as follows.
24
25       The  type  member  is set to the event type constant name that uniquely
26       identifies it.  For example, when the X server reports a GraphicsExpose
27       event  to a client application, it sends an XGraphicsExposeEvent struc‐
28       ture with the type member set to GraphicsExpose.  The display member is
29       set  to a pointer to the display the event was read on.  The send_event
30       member is set to True if the event came from a SendEvent  protocol  re‐
31       quest.  The serial member is set from the serial number reported in the
32       protocol but expanded from the 16-bit least-significant bits to a  full
33       32-bit value.  The window member is set to the window that is most use‐
34       ful to toolkit dispatchers.
35
36       The event member is set either to the reparented window or to  the  old
37       or  the  new  parent, depending on whether StructureNotify or Substruc‐
38       tureNotify was selected.  The window member is set to the  window  that
39       was  reparented.   The  parent  member is set to the new parent window.
40       The x and y members are set to the reparented window's coordinates rel‐
41       ative to the new parent window's origin and define the upper-left outer
42       corner of the reparented window.  The override_redirect member  is  set
43       to  the override-redirect attribute of the window specified by the win‐
44       dow member.  Window manager clients normally should ignore this  window
45       if the override_redirect member is True.
46

SEE ALSO

48       XAnyEvent(3),    XButtonEvent(3),    XCreateWindowEvent(3),   XCircula‐
49       teEvent(3),  XCirculateRequestEvent(3),   XColormapEvent(3),   XConfig‐
50       ureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWin‐
51       dowEvent(3),  XErrorEvent(3),  XExposeEvent(3),   XFocusChangeEvent(3),
52       XGraphicsExposeEvent(3),       XGravityEvent(3),       XKeymapEvent(3),
53       XMapEvent(3),    XMapRequestEvent(3),    XPropertyEvent(3),     XResiz‐
54       eRequestEvent(3),  XSelectionClearEvent(3), XSelectionEvent(3), XSelec‐
55       tionRequestEvent(3), XUnmapEvent(3), XVisibilityEvent(3)
56       Xlib - C Language X Interface
57
58
59
60X Version 11                     libX11 1.8.1                XReparentEvent(3)
Impressum