1XReparentEvent(3X11)            XLIB FUNCTIONS            XReparentEvent(3X11)
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
31       request.  The serial member is set from the serial number reported in
32       the protocol but expanded from the 16-bit least-significant bits to a
33       full 32-bit value.  The window member is set to the window that is most
34       useful 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(3X11), XButtonEvent(3X11), XCreateWindowEvent(3X11), XCircu‐
49       lateEvent(3X11), XCirculateRequestEvent(3X11), XColormapEvent(3X11),
50       XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
51       XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XErrorEvent(3X11),
52       XExposeEvent(3X11), XFocusChangeEvent(3X11), XGraphicsEx‐
53       poseEvent(3X11), XGravityEvent(3X11), XKeymapEvent(3X11),
54       XMapEvent(3X11), XMapRequestEvent(3X11), XPropertyEvent(3X11), XResiz‐
55       eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelectionEvent(3X11),
56       XSelectionRequestEvent(3X11), XUnmapEvent(3X11), XVisibilityEvent(3X11)
57       Xlib - C Language X Interface
58
59
60
61X Version 11                     libX11 1.0.3             XReparentEvent(3X11)
Impressum