1: #include <X/mit-copyright.h> 2: 3: /* $Header: XScreenSaver.c,v 10.5 86/02/01 15:39:37 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: 8: 9: XScreenSaver (save_timeout, pattern_timeout, video) 10: int save_timeout, pattern_timeout, video; 11: { 12: register Display *dpy; 13: register XReq *req; 14: 15: GetReq(X_ScreenSaver, 0); 16: req->func = video ? 1 : 0; 17: req->param.s[0] = save_timeout; 18: req->param.s[1] = pattern_timeout; 19: }