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