ctwm.h revision 645f5050
1645f5050Syouri/* 2645f5050Syouri * [ ctwm ] 3645f5050Syouri * 4645f5050Syouri * Copyright 1992 Claude Lecommandeur. 5645f5050Syouri * 6645f5050Syouri * Permission to use, copy, modify and distribute this software [ctwm] and 7645f5050Syouri * its documentation for any purpose is hereby granted without fee, provided 8645f5050Syouri * that the above copyright notice appear in all copies and that both that 9645f5050Syouri * copyright notice and this permission notice appear in supporting documen- 10645f5050Syouri * tation, and that the name of Claude Lecommandeur not be used in adverti- 11645f5050Syouri * sing or publicity pertaining to distribution of the software without 12645f5050Syouri * specific, written prior permission. Claude Lecommandeur make no represen- 13645f5050Syouri * tations about the suitability of this software for any purpose. It is 14645f5050Syouri * provided "as is" without express or implied warranty. 15645f5050Syouri * 16645f5050Syouri * Claude Lecommandeur DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 17645f5050Syouri * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO 18645f5050Syouri * EVENT SHALL Claude Lecommandeur BE LIABLE FOR ANY SPECIAL, INDIRECT OR 19645f5050Syouri * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF 20645f5050Syouri * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 21645f5050Syouri * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 22645f5050Syouri * PERFORMANCE OF THIS SOFTWARE. 23645f5050Syouri * 24645f5050Syouri * Author: Claude Lecommandeur [ lecom@sic.epfl.ch ][ April 1992 ] 25645f5050Syouri */ 26645f5050Syouri 27645f5050SyouriBool CtwmIsRunning (Display *display, int scrnum); 28645f5050Syourichar **CtwmListWorkspaces (Display *display, int scrnum); 29645f5050Syourichar *CtwmCurrentWorkspace (Display *display, int scrnum); 30645f5050Syouriint CtwmChangeWorkspace (Display *display, int scrnum, 31645f5050Syouri char *workspace); 32645f5050Syourichar **CtwmCurrentOccupation (Display *display, Window window); 33645f5050Syouriint CtwmSetOccupation (Display *display, Window window, 34645f5050Syouri char **occupation); 35645f5050Syouriint CtwmAddToCurrentWorkspace (Display *display, Window window); 36