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