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 libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 * (c) Copyright 1987,1988,1989,1990,1992,1993,1994 HEWLETT-PACKARD COMPANY
25 * (c) Copyright 1993, 1994 International Business Machines Corp.
26 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
27 * (c) Copyright 1993, 1994 Novell, Inc.
31 /******** Public Function Declarations ********/
33 extern void ChangeToWorkspace(
34 WmWorkspaceData *pNewWS) ;
35 extern void ChangeWorkspaceTitle( WmWorkspaceData *pWS, char * pchTitle);
36 extern Boolean DuplicateWorkspaceName (
40 extern void UpdateWorkspacePresenceProperty(
43 extern void UpdateWorkspaceInfoProperty(
46 extern WmWorkspaceData * CreateWorkspace(
48 unsigned char *name) ;
49 extern void DeleteWorkspace(
50 WmWorkspaceData *pWS) ;
51 extern Boolean GetClientWorkspaceInfo(
54 extern Boolean WorkspaceIsInCommand(
58 unsigned int *pNumIDs) ;
59 extern Boolean ConvertNamesToIDs(
62 WorkspaceID **ppAtoms,
63 unsigned int *pNumAtoms) ;
64 extern void CheckForPutInAllRequest(
67 unsigned int numIDs) ;
68 extern Boolean FindWsNameInCommand(
71 unsigned char **ppch) ;
72 extern void PutClientIntoWorkspace(
75 extern void TakeClientOutOfWorkspace(
78 extern WmWorkspaceData * GetWorkspaceData(
81 extern unsigned char * GenerateWorkspaceName(
84 extern Boolean InWindowList(
88 extern Boolean ClientInWorkspace(
91 extern WsClientData * GetWsClientData(
94 extern void SetClientWsIndex(
96 void ProcessDtWmHints (ClientData *pCD) ;
97 extern Boolean ProcessWorkspaceHints(
99 extern void ProcessWorkspaceHintList(
102 unsigned int numIDs) ;
103 extern void RemoveSingleClientFromWorkspaces(
106 unsigned int numIDs) ;
107 extern void RemoveSubtreeFromWorkspaces(
110 unsigned int numIDs) ;
111 extern WorkspaceID * GetListOfOccupiedWorkspaces(
114 extern void HonorAbsentMapBehavior(
116 extern void RemoveClientFromWorkspaces(
119 unsigned int numIDs) ;
120 extern void AddSingleClientToWorkspaces(
123 unsigned int numIDs) ;
124 extern void AddSubtreeToWorkspaces(
127 unsigned int numIDs) ;
128 extern void AddClientToWorkspaces(
131 unsigned int numIDs) ;
132 extern void AddClientToWsList(
133 WmWorkspaceData *pWS,
135 extern void RemoveClientFromWsList(
136 WmWorkspaceData *pWS,
138 extern Boolean F_CreateWorkspace(
142 extern Boolean F_DeleteWorkspace(
146 extern Boolean F_GotoWorkspace(
150 extern Boolean F_AddToAllWorkspaces(
154 extern Boolean F_Remove(
158 extern int GetCurrentWorkspaceIndex(
160 extern void InsureIconForWorkspace(
161 WmWorkspaceData *pWS,
163 extern Boolean GetLeaderPresence(
166 unsigned int *pnumIDs) ;
167 extern Boolean GetMyOwnPresence(
170 unsigned int *pnumIDs) ;
171 extern void ReserveIdListSpace(
173 extern void SaveWorkspaceResources(
174 WmWorkspaceData *pWS,
175 unsigned long flags) ;
176 extern void SaveResources(
178 extern void AddStringToResourceData(
182 extern void SetCurrentWorkspaceButton(
184 extern void SetFrontPanelTitle(
187 /******** End Public Function Declarations ********/