X11SelectionPrivate.mesa
Copyright Ó 1991 by Xerox Corporation. All rights reserved.
Christian Jacobi, January 30, 1991 1:02:46 pm PST
Christian Jacobi, March 22, 1991 12:09 pm PST
DIRECTORY Xl;
X11SelectionPrivate: CEDAR DEFINITIONS ~ BEGIN
Private definitions shared by X11SelectionOwner and X11SelectionRequestor.
Other clients must be aware that this will be recompiled whenever X11SelectionOwnerImpl or X11SelectionRequestorImpl shows any desire. Treat all the field readonly, unless they are reserved clearly for you.
ConnectionData: TYPE = REF ConnectionDataRec; --per Connection Data.
ConnectionDataRec: TYPE = RECORD [
connection: Xl.Connection,
hiddenParent: Xl.Window ¬ Xl.nullWindow, --Parent for hidden private windows. Limits the width of the window tree of the root.
targetsXAtom: Xl.XAtom ¬ [0],
incrXAtom: Xl.XAtom ¬ [0],
timeStampXAtom: Xl.XAtom ¬ [0],
atomPairXAtom: Xl.XAtom ¬ [0],
multipleXAtom: Xl.XAtom ¬ [0],
requestorPrivateFreeList: REF ¬ NIL
];
GetConnectionData: PROC [c: Xl.Connection] RETURNS [ConnectionData];
Gets (and creates if necessary) the ConnectionDataRec for this Connection
There is a small cache, so this is fast.
END.