|
|
1.1 ! root 1: #include "copyright.h" ! 2: ! 3: /* $Header: XRotProp.c,v 11.9 87/09/11 08:08:55 toddb Exp $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1986 */ ! 5: ! 6: #include "Xlibint.h" ! 7: ! 8: XRotateWindowProperties(dpy, w, properties, nprops, npositions) ! 9: register Display *dpy; ! 10: Window w; ! 11: Atom properties[]; ! 12: register int nprops; ! 13: int npositions; ! 14: { ! 15: register long nbytes; ! 16: register xRotatePropertiesReq *req; ! 17: ! 18: LockDisplay(dpy); ! 19: GetReq (RotateProperties, req); ! 20: req->window = w; ! 21: req->nAtoms = nprops; ! 22: req->nPositions = npositions; ! 23: ! 24: req->length += nprops; ! 25: nbytes = nprops << 2; ! 26: /* XXX Cray needs packing here.... */ ! 27: Data (dpy, (char *) properties, nbytes); ! 28: ! 29: ! 30: UnlockDisplay(dpy); ! 31: SyncHandle(); ! 32: } ! 33: ! 34: ! 35: ! 36: ! 37:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.