XlICCCMTypes.mesa
Copyright Ó 1990, 1991 by Xerox Corporation. All rights reserved.
Christian Jacobi, January 22, 1990 4:20:24 pm PST
Christian Jacobi, August 22, 1991 2:51 pm PDT
XlICCCMTypes:
CEDAR
DEFINITIONS ~
BEGIN
Types used for Inter Client Conventions.
Types contain fields not used by the normal Cedar client so they could be reused by a window manager client; however the comments and default values are aimed for the non window manager client. Defaults values might differ from ICCCM for reason of code savings, the actual code for setting the properties will convert the defaults.
WMSizeHints: TYPE = WMNormalHints; --a better name
WMNormalHints:
TYPE =
RECORD [
--For the WM
NORMAL
HINTS property
--Cedar clients extras
userPos, userSize, clientPos, clientSize: BOOL ¬ FALSE, --used to "compute" some flags
--Standard ICCCM fields
flags: --PRIVATE-- CARD32 ¬ 0, --computed; not to be set by clients
obsoletePos: Xl.Point ¬ [0, 0],
obsoleteSz: Xl.Size ¬ [0, 0],
minSz: Xl.Size ¬ [0, 0],
maxSz: Xl.Size ¬ [0, 0],
incSz: Xl.Size ¬ [0, 0],
minAspectN, minAspectD: INT ¬ 0, --set either all 4 or no aspect data
maxAspectN, maxAspectD: INT ¬ 0,
baseSz: Xl.Size ¬ [0, 0],
gravity: Xl.WinGravity ¬ unmap --maps to subrange [northWest..southEast]
];
WMHints:
TYPE =
RECORD [
--For the WM
HINTS property
--Standard ICCCM fields
flags: --PRIVATE-- CARD32 ¬ 0, --computed; not to be set by clients
input: CARD32 ¬ 0,
initialState: CARD32 ¬ 0, --default will be changed to normal [1=normal, 3=iconic]
iconPixmap: Xl.Pixmap ¬ Xl.nullPixmap,
iconWindow: Xl.Window ¬ Xl.nullWindow,
iconPos: Xl.Point ¬ [0, 0],
iconMask: Xl.Pixmap ¬ Xl.nullPixmap,
windowGroup: Xl.Window ¬ Xl.nullWindow
];