1 | /* $Xorg: mivalidate.h,v 1.4 2001/02/09 02:05:22 xorgcvs Exp $ */
|
---|
2 | /*
|
---|
3 |
|
---|
4 | Copyright 1993, 1998 The Open Group
|
---|
5 |
|
---|
6 | Permission to use, copy, modify, distribute, and sell this software and its
|
---|
7 | documentation for any purpose is hereby granted without fee, provided that
|
---|
8 | the above copyright notice appear in all copies and that both that
|
---|
9 | copyright notice and this permission notice appear in supporting
|
---|
10 | documentation.
|
---|
11 |
|
---|
12 | The above copyright notice and this permission notice shall be included
|
---|
13 | in all copies or substantial portions of the Software.
|
---|
14 |
|
---|
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
---|
16 | OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
---|
17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
---|
18 | IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
---|
19 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
---|
20 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
---|
21 | OTHER DEALINGS IN THE SOFTWARE.
|
---|
22 |
|
---|
23 | Except as contained in this notice, the name of The Open Group shall
|
---|
24 | not be used in advertising or otherwise to promote the sale, use or
|
---|
25 | other dealings in this Software without prior written authorization
|
---|
26 | from The Open Group.
|
---|
27 |
|
---|
28 | */
|
---|
29 | /* $XFree86$ */
|
---|
30 |
|
---|
31 |
|
---|
32 | #ifdef HAVE_DIX_CONFIG_H
|
---|
33 | #include <dix-config.h>
|
---|
34 | #endif
|
---|
35 |
|
---|
36 | #ifndef MIVALIDATE_H
|
---|
37 | #define MIVALIDATE_H
|
---|
38 |
|
---|
39 | #include "regionstr.h"
|
---|
40 |
|
---|
41 | typedef union _Validate {
|
---|
42 | struct BeforeValidate {
|
---|
43 | DDXPointRec oldAbsCorner; /* old window position */
|
---|
44 | RegionPtr borderVisible; /* visible region of border, */
|
---|
45 | /* non-null when size changes */
|
---|
46 | Bool resized; /* unclipped winSize has changed - */
|
---|
47 | /* don't call SaveDoomedAreas */
|
---|
48 | } before;
|
---|
49 | struct AfterValidate {
|
---|
50 | RegionRec exposed; /* exposed regions, absolute pos */
|
---|
51 | RegionRec borderExposed;
|
---|
52 | } after;
|
---|
53 | } ValidateRec;
|
---|
54 |
|
---|
55 | #endif /* MIVALIDATE_H */
|
---|