f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * copy of this software and associated documentation files (the "Software"),
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * to deal in the Software without restriction, including without limitation
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * and/or sell copies of the Software, and to permit persons to whom the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Software is furnished to do so, subject to the following conditions:
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * The above copyright notice and this permission notice (including the next
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * paragraph) shall be included in all copies or substantial portions of the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Software.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * DEALINGS IN THE SOFTWARE.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Copyright © 2003 Keith Packard
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Permission to use, copy, modify, distribute, and sell this software and its
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * documentation for any purpose is hereby granted without fee, provided that
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * the above copyright notice appear in all copies and that both that
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * copyright notice and this permission notice appear in supporting
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * documentation, and that the name of Keith Packard not be used in
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * advertising or publicity pertaining to distribution of the software without
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * specific, written prior permission. Keith Packard makes no
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * representations about the suitability of this software for any purpose. It
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * is provided "as is" without express or implied warranty.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * PERFORMANCE OF THIS SOFTWARE.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * enable this for debugging
f78b12e570284aa8291f4ca1add24937fd107403vboxsync #define COMPOSITE_DEBUG
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef struct _CompOverlayClientRec *CompOverlayClientPtr;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Called from ConfigureWindow, these
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * three track changes to the offscreen storage
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Reparenting has an effect on Subwindows redirect
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Colormaps for new visuals better not get installed
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Fake backing store via automatic redirection
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ChangeWindowAttributesProcPtr ChangeWindowAttributes;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define CompScreenPrivateKey (&CompScreenPrivateKeyRec)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define CompWindowPrivateKey (&CompWindowPrivateKeyRec)
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncextern DevPrivateKeyRec CompSubwindowsPrivateKeyRec;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define CompSubwindowsPrivateKey (&CompSubwindowsPrivateKeyRec)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync dixLookupPrivate(&(s)->devPrivates, CompScreenPrivateKey))
f78b12e570284aa8291f4ca1add24937fd107403vboxsync dixLookupPrivate(&(w)->devPrivates, CompWindowPrivateKey))
f78b12e570284aa8291f4ca1add24937fd107403vboxsync dixLookupPrivate(&(w)->devPrivates, CompSubwindowsPrivateKey))
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompRedirectWindow (ClientPtr pClient, WindowPtr pWin, int update);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompUnredirectWindow (ClientPtr pClient, WindowPtr pWin, int update);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompRedirectSubwindows (ClientPtr pClient, WindowPtr pWin, int update);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompUnredirectSubwindows (ClientPtr pClient, WindowPtr pWin, int update);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompRedirectOneSubwindow (WindowPtr pParent, WindowPtr pWin);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompUnredirectOneSubwindow (WindowPtr pParent, WindowPtr pWin);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompRestoreWindow (WindowPtr pWin, PixmapPtr pPixmap);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync unsigned int w, unsigned int h, int bw);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompFreeOverlayClient (CompOverlayClientPtr pOcToDel);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompFindOverlayClient (ScreenPtr pScreen, ClientPtr pClient);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompCreateOverlayClient (ScreenPtr pScreen, ClientPtr pClient);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompMoveWindow (WindowPtr pWin, int x, int y, WindowPtr pSib, VTKind kind);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompChangeBorderWidth (WindowPtr pWin, unsigned int border_width);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompReparentWindow (WindowPtr pWin, WindowPtr pPriorParent);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompSetRedirectBorderClip (WindowPtr pWin, RegionPtr pRegion);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompCopyWindow (WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc);
f78b12e570284aa8291f4ca1add24937fd107403vboxsynccompConfigNotify(WindowPtr pWin, int x, int y, int w, int h,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif /* _COMPINT_H_ */