mivalidate.h revision 9ace9065
11.7Sbouyer/* 21.1Spooka 31.1SpookaCopyright 1993, 1998 The Open Group 41.2Spooka 51.2SpookaPermission to use, copy, modify, distribute, and sell this software and its 61.3Spookadocumentation for any purpose is hereby granted without fee, provided that 71.3Spookathe above copyright notice appear in all copies and that both that 81.1Spookacopyright notice and this permission notice appear in supporting 91.1Spookadocumentation. 101.2Spooka 111.2SpookaThe above copyright notice and this permission notice shall be included 121.5Sbouyerin all copies or substantial portions of the Software. 131.5Sbouyer 141.7SbouyerTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 151.5SbouyerOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 161.5SbouyerMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 171.4SheIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 181.4SheOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 191.4SheARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 201.2SpookaOTHER DEALINGS IN THE SOFTWARE. 211.4She 221.2SpookaExcept as contained in this notice, the name of The Open Group shall 231.4Shenot be used in advertising or otherwise to promote the sale, use or 241.4Sheother dealings in this Software without prior written authorization 251.4Shefrom The Open Group. 261.2Spooka 271.2Spooka*/ 281.2Spooka 291.6Sjoerg#ifdef HAVE_DIX_CONFIG_H 301.6Sjoerg#include <dix-config.h> 311.2Spooka#endif 32 33#ifndef MIVALIDATE_H 34#define MIVALIDATE_H 35 36#include "regionstr.h" 37 38typedef union _Validate { 39 struct BeforeValidate { 40 DDXPointRec oldAbsCorner; /* old window position */ 41 RegionPtr borderVisible; /* visible region of border, */ 42 /* non-null when size changes */ 43 Bool resized; /* unclipped winSize has changed */ 44 } before; 45 struct AfterValidate { 46 RegionRec exposed; /* exposed regions, absolute pos */ 47 RegionRec borderExposed; 48 } after; 49} ValidateRec; 50 51#endif /* MIVALIDATE_H */ 52