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