105b261ecSmrg/*
205b261ecSmrg
305b261ecSmrgCopyright 1993, 1998  The Open Group
405b261ecSmrg
505b261ecSmrgPermission to use, copy, modify, distribute, and sell this software and its
605b261ecSmrgdocumentation for any purpose is hereby granted without fee, provided that
705b261ecSmrgthe above copyright notice appear in all copies and that both that
805b261ecSmrgcopyright notice and this permission notice appear in supporting
905b261ecSmrgdocumentation.
1005b261ecSmrg
1105b261ecSmrgThe above copyright notice and this permission notice shall be included
1205b261ecSmrgin all copies or substantial portions of the Software.
1305b261ecSmrg
1405b261ecSmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1505b261ecSmrgOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1605b261ecSmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
1705b261ecSmrgIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
1805b261ecSmrgOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1905b261ecSmrgARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2005b261ecSmrgOTHER DEALINGS IN THE SOFTWARE.
2105b261ecSmrg
2205b261ecSmrgExcept as contained in this notice, the name of The Open Group shall
2305b261ecSmrgnot be used in advertising or otherwise to promote the sale, use or
2405b261ecSmrgother dealings in this Software without prior written authorization
2505b261ecSmrgfrom The Open Group.
2605b261ecSmrg
2705b261ecSmrg*/
2805b261ecSmrg
2905b261ecSmrg#ifdef HAVE_DIX_CONFIG_H
3005b261ecSmrg#include <dix-config.h>
3105b261ecSmrg#endif
3205b261ecSmrg
3305b261ecSmrg#ifndef MIVALIDATE_H
3405b261ecSmrg#define MIVALIDATE_H
3505b261ecSmrg
3605b261ecSmrg#include "regionstr.h"
3705b261ecSmrg
3805b261ecSmrgtypedef union _Validate {
3905b261ecSmrg    struct BeforeValidate {
4035c4bbdfSmrg        DDXPointRec oldAbsCorner;       /* old window position */
4135c4bbdfSmrg        RegionPtr borderVisible;        /* visible region of border, */
4235c4bbdfSmrg        /* non-null when size changes */
4335c4bbdfSmrg        Bool resized;           /* unclipped winSize has changed */
4405b261ecSmrg    } before;
4505b261ecSmrg    struct AfterValidate {
4635c4bbdfSmrg        RegionRec exposed;      /* exposed regions, absolute pos */
4735c4bbdfSmrg        RegionRec borderExposed;
4805b261ecSmrg    } after;
4905b261ecSmrg} ValidateRec;
5005b261ecSmrg
5135c4bbdfSmrg#endif                          /* MIVALIDATE_H */
52