45e9809aff7304721fddb95654901b32195c9c7avboxsync/***********************************************************
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCopyright 1987, 1998 The Open Group
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPermission to use, copy, modify, distribute, and sell this software and its
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation for any purpose is hereby granted without fee, provided that
45e9809aff7304721fddb95654901b32195c9c7avboxsyncthe above copyright notice appear in all copies and that both that
45e9809aff7304721fddb95654901b32195c9c7avboxsynccopyright notice and this permission notice appear in supporting
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncThe above copyright notice and this permission notice shall be included in
45e9809aff7304721fddb95654901b32195c9c7avboxsyncall copies or substantial portions of the Software.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45e9809aff7304721fddb95654901b32195c9c7avboxsyncIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45e9809aff7304721fddb95654901b32195c9c7avboxsyncOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncExcept as contained in this notice, the name of The Open Group shall not be
45e9809aff7304721fddb95654901b32195c9c7avboxsyncused in advertising or otherwise to promote the sale, use or other dealings
45e9809aff7304721fddb95654901b32195c9c7avboxsyncin this Software without prior written authorization from The Open Group.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncCopyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync All Rights Reserved
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPermission to use, copy, modify, and distribute this software and its
45e9809aff7304721fddb95654901b32195c9c7avboxsyncdocumentation for any purpose and without fee is hereby granted,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncprovided that the above copyright notice appear in all copies and that
45e9809aff7304721fddb95654901b32195c9c7avboxsyncboth that copyright notice and this permission notice appear in
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsupporting documentation, and that the name of Digital not be
45e9809aff7304721fddb95654901b32195c9c7avboxsyncused in advertising or publicity pertaining to distribution of the
45e9809aff7304721fddb95654901b32195c9c7avboxsyncsoftware without specific, written prior permission.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
45e9809aff7304721fddb95654901b32195c9c7avboxsyncALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
45e9809aff7304721fddb95654901b32195c9c7avboxsyncDIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
45e9809aff7304721fddb95654901b32195c9c7avboxsyncANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
45e9809aff7304721fddb95654901b32195c9c7avboxsyncARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
45e9809aff7304721fddb95654901b32195c9c7avboxsyncSOFTWARE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync******************************************************************/
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifndef WINDOW_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define WINDOW_H
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "misc.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "region.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include "screenint.h"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#include <X11/Xproto.h>
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define TOTALLY_OBSCURED 0
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define UNOBSCURED 1
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define OBSCURED 2
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define VisibilityNotViewable 3
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* return values for tree-walking callback procedures */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define WT_STOPWALKING 0
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define WT_WALKCHILDREN 1
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define WT_DONTWALKCHILDREN 2
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define WT_NOMATCH 3
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define NullWindow ((WindowPtr) 0)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Forward declaration, we can't include input.h here */
45e9809aff7304721fddb95654901b32195c9c7avboxsyncstruct _DeviceIntRec;
45e9809aff7304721fddb95654901b32195c9c7avboxsyncstruct _Cursor;
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef struct _BackingStore *BackingStorePtr;
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef struct _Window *WindowPtr;
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef int (*VisitWindowProcPtr)(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*data*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int TraverseTree(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync VisitWindowProcPtr /*func*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*data*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int WalkTree(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /*pScreen*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync VisitWindowProcPtr /*func*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*data*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool CreateRootWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ScreenPtr /*pScreen*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void InitRootWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynctypedef WindowPtr (* RealChildHeadProc) (WindowPtr pWin);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void RegisterRealChildHeadProc (RealChildHeadProc proc);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT WindowPtr RealChildHead(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT WindowPtr CreateWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync Window /*wid*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pParent*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*w*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*h*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*bw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned int /*class*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Mask /*vmask*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync XID* /*vlist*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*depth*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync VisualID /*visual*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int* /*error*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int DeleteWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync pointer /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync XID /*wid*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int DestroySubwindows(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Quartz support on Mac OS X uses the HIToolbox
45e9809aff7304721fddb95654901b32195c9c7avboxsync framework whose ChangeWindowAttributes function conflicts here. */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef __APPLE__
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define ChangeWindowAttributes Darwin_X_ChangeWindowAttributes
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int ChangeWindowAttributes(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Mask /*vmask*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync XID* /*vlist*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int ChangeWindowDeviceCursor(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync struct _DeviceIntRec* /*pDev*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync struct _Cursor* /*pCursor*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT struct _Cursor* WindowGetDeviceCursor(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync struct _DeviceIntRec* /*pDev*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync/* Quartz support on Mac OS X uses the HIToolbox
45e9809aff7304721fddb95654901b32195c9c7avboxsync framework whose GetWindowAttributes function conflicts here. */
45e9809aff7304721fddb95654901b32195c9c7avboxsync#ifdef __APPLE__
45e9809aff7304721fddb95654901b32195c9c7avboxsync#define GetWindowAttributes(w,c,x) Darwin_X_GetWindowAttributes(w,c,x)
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern void Darwin_X_GetWindowAttributes(
45e9809aff7304721fddb95654901b32195c9c7avboxsync#else
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void GetWindowAttributes(
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync xGetWindowAttributesReply* /* wa */);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void GravityTranslate(
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*oldx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*oldy*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dh*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync unsigned /*gravity*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int* /*destx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int* /*desty*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int ConfigureWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Mask /*mask*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync XID* /*vlist*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int CirculateWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pParent*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*direction*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int ReparentWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pParent*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int MapWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void MapSubwindows(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pParent*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int UnmapWindow(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync Bool /*fromConfigure*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void UnmapSubwindows(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void HandleSaveSet(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr /*client*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool PointInWindowIsVisible(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*x*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*y*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT RegionPtr NotClippedByChildren(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void SendVisibilityNotify(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int dixSaveScreens(
45e9809aff7304721fddb95654901b32195c9c7avboxsync ClientPtr client,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int on,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int mode);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT int SaveScreens(
45e9809aff7304721fddb95654901b32195c9c7avboxsync int on,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int mode);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT WindowPtr FindWindowWithOptional(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*w*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void CheckWindowOptionalNeed(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*w*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT Bool MakeWindowOptional(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT WindowPtr MoveWindowInStack(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pNextSib*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void SetWinSize(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void SetBorderSize(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void ResizeChildrenWinSize(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /*pWin*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dx*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dy*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dw*/,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /*dh*/);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void ShapeExtensionInit(void);
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void SendShapeNotify(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* pWin */,
45e9809aff7304721fddb95654901b32195c9c7avboxsync int /* which */ );
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT RegionPtr CreateBoundingShape(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* pWin */ );
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT RegionPtr CreateClipShape(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* pWin */ );
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void DisableMapUnmapEvents(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* pWin */ );
45e9809aff7304721fddb95654901b32195c9c7avboxsyncextern _X_EXPORT void EnableMapUnmapEvents(
45e9809aff7304721fddb95654901b32195c9c7avboxsync WindowPtr /* pWin */ );
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync#endif /* WINDOW_H */