2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: WmWrkspace.h /main/4 1995/11/01 11:56:28 rswiston $ */
26 * (c) Copyright 1987,1988,1989,1990,1992,1993,1994 HEWLETT-PACKARD COMPANY
27 * (c) Copyright 1993, 1994 International Business Machines Corp.
28 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
29 * (c) Copyright 1993, 1994 Novell, Inc.
34 static char rcsid[] = ""
38 /******** Public Function Declarations ********/
40 extern void ChangeToWorkspace(
41 WmWorkspaceData *pNewWS) ;
42 extern Boolean DuplicateWorkspaceName (
46 extern void UpdateWorkspacePresenceProperty(
49 extern void UpdateWorkspaceInfoProperty(
52 extern WmWorkspaceData * CreateWorkspace(
54 unsigned char *name) ;
55 extern void DeleteWorkspace(
56 WmWorkspaceData *pWS) ;
57 extern Boolean GetClientWorkspaceInfo(
60 extern Boolean WorkspaceIsInCommand(
64 unsigned int *pNumIDs) ;
65 extern Boolean ConvertNamesToIDs(
68 WorkspaceID **ppAtoms,
69 unsigned int *pNumAtoms) ;
70 extern void CheckForPutInAllRequest(
73 unsigned int numIDs) ;
74 extern Boolean FindWsNameInCommand(
77 unsigned char **ppch) ;
78 extern void PutClientIntoWorkspace(
81 extern void TakeClientOutOfWorkspace(
84 extern WmWorkspaceData * GetWorkspaceData(
87 extern unsigned char * GenerateWorkspaceName(
90 extern Boolean InWindowList(
94 extern Boolean ClientInWorkspace(
97 extern WsClientData * GetWsClientData(
100 extern void SetClientWsIndex(
102 extern Boolean ProcessWorkspaceHints(
104 extern void ProcessWorkspaceHintList(
107 unsigned int numIDs) ;
108 extern void RemoveSingleClientFromWorkspaces(
111 unsigned int numIDs) ;
112 extern void RemoveSubtreeFromWorkspaces(
115 unsigned int numIDs) ;
117 extern WorkspaceID * GetListOfOccupiedWorkspaces(
120 #endif /* PANELIST */
121 extern void HonorAbsentMapBehavior(
123 extern void RemoveClientFromWorkspaces(
126 unsigned int numIDs) ;
127 extern void AddSingleClientToWorkspaces(
130 unsigned int numIDs) ;
131 extern void AddSubtreeToWorkspaces(
134 unsigned int numIDs) ;
135 extern void AddClientToWorkspaces(
138 unsigned int numIDs) ;
139 extern void AddClientToWsList(
140 WmWorkspaceData *pWS,
142 extern void RemoveClientFromWsList(
143 WmWorkspaceData *pWS,
145 extern Boolean F_CreateWorkspace(
149 extern Boolean F_DeleteWorkspace(
153 extern Boolean F_GotoWorkspace(
157 extern Boolean F_AddToAllWorkspaces(
161 extern Boolean F_Remove(
165 extern int GetCurrentWorkspaceIndex(
167 extern void InsureIconForWorkspace(
168 WmWorkspaceData *pWS,
170 extern Boolean GetLeaderPresence(
173 unsigned int *pnumIDs) ;
174 extern Boolean GetMyOwnPresence(
177 unsigned int *pnumIDs) ;
178 extern void ReserveIdListSpace(
180 extern void SaveWorkspaceResources(
181 WmWorkspaceData *pWS,
182 unsigned long flags) ;
183 extern void SaveResources(
185 extern void AddStringToResourceData(
190 extern void SetCurrentWorkspaceButton(
192 extern void SetFrontPanelTitle(
194 #endif /* PANELIST */
196 /******** End Public Function Declarations ********/