CirWin.c revision 1ab64890
1e88f27b3Smrg/* $Xorg: CirWin.c,v 1.4 2001/02/09 02:03:31 xorgcvs Exp $ */ 2e88f27b3Smrg/* 3e88f27b3Smrg 4e88f27b3SmrgCopyright 1986, 1998 The Open Group 5e88f27b3Smrg 6e88f27b3SmrgPermission to use, copy, modify, distribute, and sell this software and its 7e88f27b3Smrgdocumentation for any purpose is hereby granted without fee, provided that 8e88f27b3Smrgthe above copyright notice appear in all copies and that both that 9e88f27b3Smrgcopyright notice and this permission notice appear in supporting 10e88f27b3Smrgdocumentation. 11e88f27b3Smrg 12e88f27b3SmrgThe above copyright notice and this permission notice shall be included in 13e88f27b3Smrgall copies or substantial portions of the Software. 14e88f27b3Smrg 15e88f27b3SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16e88f27b3SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17e88f27b3SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18e88f27b3SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 19e88f27b3SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20e88f27b3SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21e88f27b3Smrg 22e88f27b3SmrgExcept as contained in this notice, the name of The Open Group shall not be 23e88f27b3Smrgused in advertising or otherwise to promote the sale, use or other dealings 24e88f27b3Smrgin this Software without prior written authorization from The Open Group. 25e88f27b3Smrg 26e88f27b3Smrg*/ 27e88f27b3Smrg/* $XFree86: xc/lib/X11/CirWin.c,v 1.3 2001/01/17 19:41:32 dawes Exp $ */ 28e88f27b3Smrg 29e6188e58Smrg#ifdef HAVE_CONFIG_H 30e88f27b3Smrg#include <config.h> 31e88f27b3Smrg#endif 32e88f27b3Smrg#include "Xlibint.h" 33e88f27b3Smrg 34e88f27b3Smrgint 35e88f27b3SmrgXCirculateSubwindows( 36e88f27b3Smrg register Display *dpy, 37e6188e58Smrg Window w, 38e88f27b3Smrg int direction) 39e88f27b3Smrg{ 40e88f27b3Smrg register xCirculateWindowReq *req; 41e88f27b3Smrg 42e88f27b3Smrg LockDisplay(dpy); 43e88f27b3Smrg GetReq(CirculateWindow, req); 443f012e29Smrg req->window = w; 453f012e29Smrg req->direction = direction; 463f012e29Smrg UnlockDisplay(dpy); 473f012e29Smrg SyncHandle(); 483f012e29Smrg return 1; 494babd585Smrg} 50e6188e58Smrg 51e88f27b3Smrg