f78b12e570284aa8291f4ca1add24937fd107403vboxsync/*
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Rootless window management
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/*
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Copyright (c) 2001 Greg Parker. All Rights Reserved.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * copy of this software and associated documentation files (the "Software"),
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * to deal in the Software without restriction, including without limitation
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * and/or sell copies of the Software, and to permit persons to whom the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Software is furnished to do so, subject to the following conditions:
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * The above copyright notice and this permission notice shall be included in
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * all copies or substantial portions of the Software.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * DEALINGS IN THE SOFTWARE.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Except as contained in this notice, the name(s) of the above copyright
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * holders shall not be used in advertising or otherwise to promote the sale,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * use or other dealings in this Software without prior written authorization.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifdef HAVE_DIX_CONFIG_H
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include <dix-config.h>
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifndef _ROOTLESSWINDOW_H
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define _ROOTLESSWINDOW_H
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#include "rootlessCommon.h"
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncBool RootlessCreateWindow(WindowPtr pWin);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncBool RootlessDestroyWindow(WindowPtr pWin);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessSetShape(WindowPtr pWin, int kind);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncBool RootlessChangeWindowAttributes(WindowPtr pWin, unsigned long vmask);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncBool RootlessPositionWindow(WindowPtr pWin, int x, int y);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncBool RootlessRealizeWindow(WindowPtr pWin);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncBool RootlessUnrealizeWindow(WindowPtr pWin);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessRestackWindow(WindowPtr pWin, WindowPtr pOldNextSib);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessCopyWindow(WindowPtr pWin,DDXPointRec ptOldOrg,RegionPtr prgnSrc);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessMoveWindow(WindowPtr pWin,int x,int y,WindowPtr pSib,VTKind kind);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessResizeWindow(WindowPtr pWin, int x, int y,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync unsigned int w, unsigned int h, WindowPtr pSib);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessReparentWindow(WindowPtr pWin, WindowPtr pPriorParent);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessChangeBorderWidth(WindowPtr pWin, unsigned int width);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifdef __APPLE__
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessNativeWindowMoved (WindowPtr pWin);
f78b12e570284aa8291f4ca1add24937fd107403vboxsyncvoid RootlessNativeWindowStateChanged (WindowPtr pWin, unsigned int state);
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif