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 1989, 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC.
31 * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
34 extern SizeHints * GetNormalHints (ClientData *pCD);
35 extern void ProcessWmProtocols (ClientData *pCD);
36 extern void ProcessMwmMessages (ClientData *pCD);
37 extern void SetMwmInfo (Window propWindow, long flags, Window wmWindow);
38 void SetMwmSaveSessionInfo (Window wmWindow);
39 extern void GetDtWmRequest (WmScreenData *pSD, char **pszReq, Boolean *pmore);
40 extern void GetDtSessionHints (WmScreenData *pSD, int sNum);
42 extern PropWMState * GetWMState (Window window);
43 extern void SetWMState (Window window, int state, Window icon);
44 extern PropMwmHints * GetMwmHints (ClientData *pCD);
45 extern PropMwmInfo * GetMwmInfo (Window rootWindowOfScreen);
46 extern void ProcessWmColormapWindows (ClientData *pCD);
47 extern Colormap FindColormap (ClientData *pCD, Window window);
48 extern MenuItem * GetMwmMenuItems (ClientData *pCD);
49 extern void SetEmbeddedClientsProperty (Window propWindow, Window *pEmbeddedClients, unsigned long cEmbeddedClients);
50 extern void GetInitialPropertyList (ClientData *pCD);
51 extern Status GetWorkspaceHints (Display *display, Window window, Atom **ppWsAtoms, unsigned int *pCount, Boolean *pbAll);
53 extern void SetWorkspaceInfo (Window propWindow, WorkspaceInfo *pWsInfo, unsigned long cInfo);
55 extern void SetWorkspacePresence (Window propWindow, Atom *pWsPresence, unsigned long cPresence);
56 extern Boolean HasProperty(ClientData *pCD, Atom property);
57 extern void DiscardInitialPropertyList (ClientData *pCD);
58 extern void GetInitialPropertyList (ClientData *pCD);
59 extern void SetWorkspaceListProperty (WmScreenData *pSD);
60 extern void SetCurrentWorkspaceProperty (WmScreenData *pSD);
61 extern void SetWorkspaceInfoProperty (WmWorkspaceData *pWS);
62 extern void DeleteWorkspaceInfoProperty (WmWorkspaceData *pWS);
63 extern char *WorkspacePropertyName (WmWorkspaceData *pWS);