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