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 void ChangeWorkspaceTitle( WmWorkspaceData *pWS, char * pchTitle);
43 extern Boolean DuplicateWorkspaceName (
47 extern void UpdateWorkspacePresenceProperty(
50 extern void UpdateWorkspaceInfoProperty(
53 extern WmWorkspaceData * CreateWorkspace(
55 unsigned char *name) ;
56 extern void DeleteWorkspace(
57 WmWorkspaceData *pWS) ;
58 extern Boolean GetClientWorkspaceInfo(
61 extern Boolean WorkspaceIsInCommand(
65 unsigned int *pNumIDs) ;
66 extern Boolean ConvertNamesToIDs(
69 WorkspaceID **ppAtoms,
70 unsigned int *pNumAtoms) ;
71 extern void CheckForPutInAllRequest(
74 unsigned int numIDs) ;
75 extern Boolean FindWsNameInCommand(
78 unsigned char **ppch) ;
79 extern void PutClientIntoWorkspace(
82 extern void TakeClientOutOfWorkspace(
85 extern WmWorkspaceData * GetWorkspaceData(
88 extern unsigned char * GenerateWorkspaceName(
91 extern Boolean InWindowList(
95 extern Boolean ClientInWorkspace(
98 extern WsClientData * GetWsClientData(
101 extern void SetClientWsIndex(
103 extern Boolean ProcessWorkspaceHints(
105 extern void ProcessWorkspaceHintList(
108 unsigned int numIDs) ;
109 extern void RemoveSingleClientFromWorkspaces(
112 unsigned int numIDs) ;
113 extern void RemoveSubtreeFromWorkspaces(
116 unsigned int numIDs) ;
118 extern WorkspaceID * GetListOfOccupiedWorkspaces(
121 #endif /* PANELIST */
122 extern void HonorAbsentMapBehavior(
124 extern void RemoveClientFromWorkspaces(
127 unsigned int numIDs) ;
128 extern void AddSingleClientToWorkspaces(
131 unsigned int numIDs) ;
132 extern void AddSubtreeToWorkspaces(
135 unsigned int numIDs) ;
136 extern void AddClientToWorkspaces(
139 unsigned int numIDs) ;
140 extern void AddClientToWsList(
141 WmWorkspaceData *pWS,
143 extern void RemoveClientFromWsList(
144 WmWorkspaceData *pWS,
146 extern Boolean F_CreateWorkspace(
150 extern Boolean F_DeleteWorkspace(
154 extern Boolean F_GotoWorkspace(
158 extern Boolean F_AddToAllWorkspaces(
162 extern Boolean F_Remove(
166 extern int GetCurrentWorkspaceIndex(
168 extern void InsureIconForWorkspace(
169 WmWorkspaceData *pWS,
171 extern Boolean GetLeaderPresence(
174 unsigned int *pnumIDs) ;
175 extern Boolean GetMyOwnPresence(
178 unsigned int *pnumIDs) ;
179 extern void ReserveIdListSpace(
181 extern void SaveWorkspaceResources(
182 WmWorkspaceData *pWS,
183 unsigned long flags) ;
184 extern void SaveResources(
186 extern void AddStringToResourceData(
191 extern void SetCurrentWorkspaceButton(
193 extern void SetFrontPanelTitle(
195 #endif /* PANELIST */
197 /******** End Public Function Declarations ********/