|
|
1.1 ! root 1: #include "copyright.h" ! 2: ! 3: /* $Header: XSetSSaver.c,v 11.5 87/09/11 08:07:15 toddb Exp $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1986 */ ! 5: ! 6: #include "Xlibint.h" ! 7: ! 8: XSetScreenSaver(dpy, timeout, interval, prefer_blank, allow_exp) ! 9: register Display *dpy; ! 10: int timeout, interval, prefer_blank, allow_exp; ! 11: ! 12: { ! 13: register xSetScreenSaverReq *req; ! 14: ! 15: LockDisplay(dpy); ! 16: GetReq(SetScreenSaver, req); ! 17: req->timeout = timeout; ! 18: req->interval = interval; ! 19: req->preferBlank = prefer_blank; ! 20: req->allowExpose = allow_exp; ! 21: UnlockDisplay(dpy); ! 22: SyncHandle(); ! 23: } ! 24:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.