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
24 * (c) Copyright 1989, 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC.
30 /* $XConsortium: WmProperty.h /main/4 1995/11/01 11:48:54 rswiston $ */
32 * (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);
39 void SetMwmSaveSessionInfo (Window wmWindow);
41 extern PropWMState * GetWMState (Window window);
42 extern void SetWMState (Window window, int state, Window icon);
43 extern PropMwmHints * GetMwmHints (ClientData *pCD);
44 extern PropMwmInfo * GetMwmInfo (Window rootWindowOfScreen);
45 extern void ProcessWmColormapWindows (ClientData *pCD);
46 extern Colormap FindColormap (ClientData *pCD, Window window);
47 extern MenuItem * GetMwmMenuItems (ClientData *pCD);
49 extern void GetInitialPropertyList (ClientData *pCD);
50 extern Status GetWorkspaceHints (Display *display, Window window, Atom **ppWsAtoms, unsigned int *pCount, Boolean *pbAll);
52 extern void SetWorkspaceInfo (Window propWindow, WorkspaceInfo *pWsInfo, unsigned long cInfo);
54 extern void SetWorkspacePresence (Window propWindow, Atom *pWsPresence, unsigned long cPresence);
55 extern Boolean HasProperty(ClientData *pCD, Atom property);
56 extern void DiscardInitialPropertyList (ClientData *pCD);
57 extern void GetInitialPropertyList (ClientData *pCD);
58 extern void SetWorkspaceListProperty (WmScreenData *pSD);
59 extern void SetCurrentWorkspaceProperty (WmScreenData *pSD);
60 extern void SetWorkspaceInfoProperty (WmWorkspaceData *pWS);
61 extern void DeleteWorkspaceInfoProperty (WmWorkspaceData *pWS);
62 extern char *WorkspacePropertyName (WmWorkspaceData *pWS);