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