|
|
1.1 root 1: #include <X/mit-copyright.h>
2:
3: /* $Header: XQueryInput.c,v 10.1 86/03/25 18:05:05 jg Rel $ */
4: /* Copyright Massachusetts Institute of Technology 1985 */
5:
6: #include "XlibInternal.h"
7: Status XQueryInput (w, mask)
8: Window w;
9: long *mask;
10: {
11: register Display *dpy;
12: register XReq *req;
13: XRep rep;
14:
15: GetReq(X_QueryWindow, w);
16:
17: if (!_XReply(dpy, &rep))
18: return (0);
19: *mask = rep.param.l[4];
20: return (1);
21: }
22:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.