a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync/*
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncCopyright 1993, 1998 The Open Group
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncPermission to use, copy, modify, distribute, and sell this software and its
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncdocumentation for any purpose is hereby granted without fee, provided that
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncthe above copyright notice appear in all copies and that both that
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsynccopyright notice and this permission notice appear in supporting
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncdocumentation.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncThe above copyright notice and this permission notice shall be included
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncin all copies or substantial portions of the Software.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncOTHER DEALINGS IN THE SOFTWARE.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncExcept as contained in this notice, the name of The Open Group shall
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncnot be used in advertising or otherwise to promote the sale, use or
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncother dealings in this Software without prior written authorization
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsyncfrom The Open Group.
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync*/
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#ifdef HAVE_DIX_CONFIG_H
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#include <dix-config.h>
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#endif
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#ifndef MIVALIDATE_H
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#define MIVALIDATE_H
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#include "regionstr.h"
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsynctypedef union _Validate {
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync struct BeforeValidate {
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync DDXPointRec oldAbsCorner; /* old window position */
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync RegionPtr borderVisible; /* visible region of border, */
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync /* non-null when size changes */
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync Bool resized; /* unclipped winSize has changed */
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync } before;
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync struct AfterValidate {
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync RegionRec exposed; /* exposed regions, absolute pos */
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync RegionRec borderExposed;
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync } after;
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync} ValidateRec;
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync
a3f3701cea1ba388e7c877955252bb7375eedebdvboxsync#endif /* MIVALIDATE_H */