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