|
|
1.1 ! root 1: #include "copyright.h" ! 2: ! 3: /* $Header: XSetSOwner.c,v 11.7 87/09/11 08:07:12 toddb Exp $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1986 */ ! 5: ! 6: #include "Xlibint.h" ! 7: ! 8: XSetSelectionOwner(dpy, selection, owner, time) ! 9: register Display *dpy; ! 10: Atom selection; ! 11: Window owner; ! 12: Time time; ! 13: { ! 14: register xSetSelectionOwnerReq *req; ! 15: ! 16: LockDisplay(dpy); ! 17: GetReq(SetSelectionOwner,req); ! 18: req->selection = selection; ! 19: req->window = owner; ! 20: req->time = time; ! 21: UnlockDisplay(dpy); ! 22: SyncHandle(); ! 23: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.