1: #include <X/mit-copyright.h>
2:
3: /* $Header: XQueryWindow.c,v 10.4 86/02/01 15:39:15 tony Rel $ */
4: /* Copyright Massachusetts Institute of Technology 1985 */
5:
6: #include "XlibInternal.h"
7: Status XQueryWindow (w, info)
8: Window w;
9: register WindowInfo *info;
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: info->height = rep.param.s[0];
20: info->width = rep.param.s[1];
21: info->x = rep.param.s[2];
22: info->y = rep.param.s[3];
23: info->bdrwidth = rep.param.s[4];
24: info->mapped = rep.param.b[10];
25: info->type = rep.param.b[11];
26: info->assoc_wind = rep.param.l[3];
27: return (1);
28: }
Defined functions
XQueryWindow
defined in line
7; used 40 times
- in /usr/src/new/X/Xlib/DisplaySize.c line
13,
25
- in /usr/src/new/X/Xlib/Xlib.h line
365
- in /usr/src/new/X/bitmap/dialog.c line
251
- in /usr/src/new/X/comsat/comsat.c line
465
- in /usr/src/new/X/hacks/bitrot/bitrot.c line
61,
81
- in /usr/src/new/X/hacks/maze/maze.c line
141
- in /usr/src/new/X/pikapix/pikapix.c line
123,
142,
216
- in /usr/src/new/X/uwm/GetButton.c line
98
- in /usr/src/new/X/uwm/Iconify.c line
89,
102,
218
- in /usr/src/new/X/uwm/Move.c line
92
- in /usr/src/new/X/uwm/MoveOpaque.c line
78
- in /usr/src/new/X/uwm/NewIconify.c line
101,
168,
204
- in /usr/src/new/X/uwm/Push.c line
110
- in /usr/src/new/X/uwm/Refresh.c line
61
- in /usr/src/new/X/uwm/Resize.c line
86
- in /usr/src/new/X/uwm/uwm.c line
219,
384,
461,
519
- in /usr/src/new/X/xgedit/gx.c line
344
- in /usr/src/new/X/xnwm/wmsubs.c line
912
- in /usr/src/new/X/xshell/xshell.c line
299
- in /usr/src/new/X/xwd/xwd.c line
174
- in /usr/src/new/X/xwininfo/xwininfo.c line
178-183(2)
- in /usr/src/new/X/xwm/Change.c line
54,
74
- in /usr/src/new/X/xwm/GetButton.c line
74
- in /usr/src/new/X/xwm/LowerIconify.c line
45,
257
- in /usr/src/new/X/xwm/Move.c line
48
- in /usr/src/new/X/xwm/main.c line
253