First import
[xorg_rtime.git] / xorg-server-1.4 / Xext / appgroup.h
blob778da5de69005745b17849876f656f2c668d7867
1 /*
2 Copyright 1996, 1998 The Open Group
4 Permission to use, copy, modify, distribute, and sell this software and its
5 documentation for any purpose is hereby granted without fee, provided that
6 the above copyright notice appear in all copies and that both that
7 copyright notice and this permission notice appear in supporting
8 documentation.
10 The above copyright notice and this permission notice shall be included
11 in all copies or substantial portions of the Software.
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16 IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
17 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19 OTHER DEALINGS IN THE SOFTWARE.
21 Except as contained in this notice, the name of The Open Group shall
22 not be used in advertising or otherwise to promote the sale, use or
23 other dealings in this Software without prior written authorization
24 from The Open Group.
27 #ifndef _APPGROUP_SRV_H_
28 #define _APPGROUP_SRV_H_
30 #include <X11/Xfuncproto.h>
32 _XFUNCPROTOBEGIN
34 extern void XagConnectionInfo(
35 ClientPtr /* client */,
36 xConnSetupPrefix** /* conn_prefix */,
37 char** /* conn_info */,
38 int* /* num_screens */
41 extern VisualID XagRootVisual(
42 ClientPtr /* client */
45 extern Colormap XagDefaultColormap(
46 ClientPtr /* client */
49 extern ClientPtr XagLeader(
50 ClientPtr /* client */
53 extern Bool XagIsControlledRoot (
54 ClientPtr /* client */,
55 WindowPtr /* pParent */
58 extern XID XagId (
59 ClientPtr /* client */
62 _XFUNCPROTOEND
64 #endif /* _APPGROUP_SRV_H_ */