cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync/*
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Rootless window management
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync */
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync/*
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Copyright (c) 2001 Greg Parker. All Rights Reserved.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync *
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 *
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * The above copyright notice and this permission notice shall be included in
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * all copies or substantial portions of the Software.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync *
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 ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * DEALINGS IN THE SOFTWARE.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync *
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * Except as contained in this notice, the name(s) of the above copyright
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * holders shall not be used in advertising or otherwise to promote the sale,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync * use or other dealings in this Software without prior written authorization.
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync */
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#ifdef HAVE_DIX_CONFIG_H
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#include <dix-config.h>
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#endif
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#ifndef _ROOTLESSWINDOW_H
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#define _ROOTLESSWINDOW_H
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#include "rootlessCommon.h"
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncBool RootlessCreateWindow(WindowPtr pWin);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncBool RootlessDestroyWindow(WindowPtr pWin);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessSetShape(WindowPtr pWin, int kind);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncBool RootlessChangeWindowAttributes(WindowPtr pWin, unsigned long vmask);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncBool RootlessPositionWindow(WindowPtr pWin, int x, int y);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncBool RootlessRealizeWindow(WindowPtr pWin);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncBool RootlessUnrealizeWindow(WindowPtr pWin);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessRestackWindow(WindowPtr pWin, WindowPtr pOldNextSib);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessCopyWindow(WindowPtr pWin,DDXPointRec ptOldOrg,RegionPtr prgnSrc);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessMoveWindow(WindowPtr pWin,int x,int y,WindowPtr pSib,VTKind kind);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessResizeWindow(WindowPtr pWin, int x, int y,
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync unsigned int w, unsigned int h, WindowPtr pSib);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessReparentWindow(WindowPtr pWin, WindowPtr pPriorParent);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessChangeBorderWidth(WindowPtr pWin, unsigned int width);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#ifdef __APPLE__
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessNativeWindowMoved (WindowPtr pWin);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsyncvoid RootlessNativeWindowStateChanged (WindowPtr pWin, unsigned int state);
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#endif
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync
cabde247f900dcf6e58d009bbdd15099c028c6fcvboxsync#endif