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