Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ MapNotify(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

MapNotify — X MapNotify and UnmapNotify Events

WHEN GENERATED

The X server generates MapNotify and UnmapNotify events when a window changes state from unmapped to mapped or vice versa. 

SELECT WITH

To receive these events on a single window, use StructureNotifyMask in the call to XSelectInput for the window.  To receive these events for all children of a particular parent, specify the parent window ID and use SubstructureNotifyMask. 

XEVENT STRUCTURE NAME

typedef union _XEvent { ... XMapEvent xmap; XUnmapEvent xunmap; ... } XEvent;

EVENT STRUCTURE

typedef struct { int type;  unsigned long serial; /∗ # of last request processed by server ∗/  Bool send_event; /∗ True if this came from SendEvent request ∗/  Display ∗display; /∗ Display the event was read from ∗/  Window event;  Window window;  Bool override_redirect; /∗ boolean, is override set ∗/ } XMapEvent;
 
typedef struct { int type;  unsigned long serial; /∗ # of last request processed by server ∗/  Bool send_event; /∗ True if this came from SendEvent request ∗/  Display ∗display; /∗ Display the event was read from ∗/  Window event;  Window window;  Bool from_configure; } XUnmapEvent;

EVENT STRUCTURE MEMBERS

eventThe window that selected this event. 

windowThe window that was just mapped or unmapped. 

override_redirect (XMapEvent only)
True or False.  The value of the override_redirect attribute of the window that was just mapped. 

from_configure (XUnmapEvent only)
True if the event was generated as a result of a resizing of the window’s parent when the window itself had a win_gravity of UnmapGravity.  See the description of the win_gravity attribute in Section #swingrav of VOL1.  False otherwise. 

Xlib Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026