5. Events


ShapeNotify
window: WINDOW
kind: SHAPE_KIND
shaped: BOOL
x, y: INT16
width, height: CARD16
time: TIMESTAMP
Whenever the client bounding or clip shape of a window is modified, a ShapeNotify event is sent to each client which has used ShapeSelectInput to request it.
kind indicates which client region (bounding or clip) has been modified. shaped is True when the window has a client shape of type kind, and is False when the window no longer has a client shape of this type. x, y, width and height indicate the extents of the current shape. When shaped is False these will indicate the extents of the default region. The timestamp indicates the server time when the shape was changed.

Home

Contents Previous Chapter Next Chapter