25 dealings in this Software without prior written authorization from Digital |
25 dealings in this Software without prior written authorization from Digital |
26 Equipment Corporation. |
26 Equipment Corporation. |
27 |
27 |
28 ******************************************************************/ |
28 ******************************************************************/ |
29 /* Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
29 /* Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
|
30 * Use is subject to license terms. |
30 * |
31 * |
31 * Permission is hereby granted, free of charge, to any person obtaining a |
32 * Permission is hereby granted, free of charge, to any person obtaining a |
32 * copy of this software and associated documentation files (the |
33 * copy of this software and associated documentation files (the "Software"), |
33 * "Software"), to deal in the Software without restriction, including |
34 * to deal in the Software without restriction, including without limitation |
34 * without limitation the rights to use, copy, modify, merge, publish, |
35 * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
35 * distribute, and/or sell copies of the Software, and to permit persons |
36 * and/or sell copies of the Software, and to permit persons to whom the |
36 * to whom the Software is furnished to do so, provided that the above |
37 * Software is furnished to do so, subject to the following conditions: |
37 * copyright notice(s) and this permission notice appear in all copies of |
|
38 * the Software and that both the above copyright notice(s) and this |
|
39 * permission notice appear in supporting documentation. |
|
40 * |
38 * |
41 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
39 * The above copyright notice and this permission notice (including the next |
42 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
40 * paragraph) shall be included in all copies or substantial portions of the |
43 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
41 * Software. |
44 * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
|
45 * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
|
46 * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
|
47 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
|
48 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
|
49 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
50 * |
42 * |
51 * Except as contained in this notice, the name of a copyright holder |
43 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
52 * shall not be used in advertising or otherwise to promote the sale, use |
44 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
53 * or other dealings in this Software without prior written authorization |
45 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
54 * of the copyright holder. |
46 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
47 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
48 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
|
49 * DEALINGS IN THE SOFTWARE. |
55 */ |
50 */ |
56 |
51 |
57 #define NEED_EVENTS |
52 #define NEED_EVENTS |
58 #define NEED_REPLIES |
53 #define NEED_REPLIES |
59 #include <X11/Xlibint.h> |
54 #include <X11/Xlibint.h> |