|
1 /* Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
|
2 * |
|
3 * Permission is hereby granted, free of charge, to any person obtaining a |
|
4 * copy of this software and associated documentation files (the |
|
5 * "Software"), to deal in the Software without restriction, including |
|
6 * without limitation the rights to use, copy, modify, merge, publish, |
|
7 * distribute, and/or sell copies of the Software, and to permit persons |
|
8 * to whom the Software is furnished to do so, provided that the above |
|
9 * copyright notice(s) and this permission notice appear in all copies of |
|
10 * the Software and that both the above copyright notice(s) and this |
|
11 * permission notice appear in supporting documentation. |
|
12 * |
|
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 * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
|
17 * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
|
18 * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
|
19 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
|
20 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
|
21 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
22 * |
|
23 * Except as contained in this notice, the name of a copyright holder |
|
24 * shall not be used in advertising or otherwise to promote the sale, use |
|
25 * or other dealings in this Software without prior written authorization |
|
26 * of the copyright holder. |
|
27 */ |
|
28 |
|
29 #pragma ident "@(#)tsol.h 1.6 07/01/24 SMI" |
|
30 |
|
31 /* |
|
32 * tsol.h server side extension |
|
33 */ |
|
34 |
|
35 #define NEED_REPLIES |
|
36 #define NEED_EVENTS |
|
37 #define _XTSOL_SERVER |
|
38 |
|
39 #ifdef HAVE_DIX_CONFIG_H |
|
40 #include <dix-config.h> |
|
41 #endif |
|
42 |
|
43 #include <X11/X.h> |
|
44 #include <X11/Xproto.h> |
|
45 #include "misc.h" |
|
46 #include "os.h" |
|
47 #include "windowstr.h" |
|
48 #include "input.h" |
|
49 #include "scrnintstr.h" |
|
50 #include "pixmapstr.h" |
|
51 #include "extnsionst.h" |
|
52 #include "dixstruct.h" |
|
53 #include "gcstruct.h" |
|
54 #include "propertyst.h" |
|
55 #include "validate.h" |
|
56 #include <X11/extensions/Xtsol.h> |
|
57 #include <X11/extensions/Xtsolproto.h> |
|
58 |
|
59 #include "tsolinfo.h" |
|
60 |
|
61 extern int tsolWindowPrivateIndex; /* declared in tsol.c */ |
|
62 extern int tsolPixmapPrivateIndex; |
|
63 extern int SpecialName(char *string, int len); |
|
64 extern TsolInfoPtr GetClientTsolInfo(); |
|
65 extern bslabel_t *lookupSL_low(); |
|
66 extern int PolyPropReadable(PropertyPtr pProp, ClientPtr client); |
|
67 extern void ReflectStackChange(WindowPtr pWin, WindowPtr pSib, VTKind kind); |
|
68 extern WindowPtr TsolPointerWindow(); |
|
69 |
|
70 #ifdef PANORAMIX |
|
71 extern int PanoramiXGetInputFocus(ClientPtr client); |
|
72 #endif |