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