1706f2543Smrg/*
2706f2543Smrg
3706f2543SmrgCopyright 1993, 1998  The Open Group
4706f2543Smrg
5706f2543SmrgPermission to use, copy, modify, distribute, and sell this software and its
6706f2543Smrgdocumentation for any purpose is hereby granted without fee, provided that
7706f2543Smrgthe above copyright notice appear in all copies and that both that
8706f2543Smrgcopyright notice and this permission notice appear in supporting
9706f2543Smrgdocumentation.
10706f2543Smrg
11706f2543SmrgThe above copyright notice and this permission notice shall be included
12706f2543Smrgin all copies or substantial portions of the Software.
13706f2543Smrg
14706f2543SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15706f2543SmrgOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16706f2543SmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17706f2543SmrgIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
18706f2543SmrgOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19706f2543SmrgARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20706f2543SmrgOTHER DEALINGS IN THE SOFTWARE.
21706f2543Smrg
22706f2543SmrgExcept as contained in this notice, the name of The Open Group shall
23706f2543Smrgnot be used in advertising or otherwise to promote the sale, use or
24706f2543Smrgother dealings in this Software without prior written authorization
25706f2543Smrgfrom The Open Group.
26706f2543Smrg
27706f2543Smrg*/
28706f2543Smrg
29706f2543Smrg#ifdef HAVE_DIX_CONFIG_H
30706f2543Smrg#include <dix-config.h>
31706f2543Smrg#endif
32706f2543Smrg
33706f2543Smrg#ifndef MIVALIDATE_H
34706f2543Smrg#define MIVALIDATE_H
35706f2543Smrg
36706f2543Smrg#include "regionstr.h"
37706f2543Smrg
38706f2543Smrgtypedef union _Validate {
39706f2543Smrg    struct BeforeValidate {
40706f2543Smrg	DDXPointRec	oldAbsCorner;	/* old window position */
41706f2543Smrg	RegionPtr	borderVisible;	/* visible region of border, */
42706f2543Smrg					/* non-null when size changes */
43706f2543Smrg	Bool		resized;	/* unclipped winSize has changed */
44706f2543Smrg    } before;
45706f2543Smrg    struct AfterValidate {
46706f2543Smrg	RegionRec	exposed;	/* exposed regions, absolute pos */
47706f2543Smrg	RegionRec	borderExposed;
48706f2543Smrg    } after;
49706f2543Smrg} ValidateRec;
50706f2543Smrg
51706f2543Smrg#endif /* MIVALIDATE_H */
52