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 OPEN SOFTWARE FOUNDATION, INC.
30 /* $XConsortium: WmWinInfo.h /main/5 1995/12/27 17:24:50 rswiston $ */
32 * (c) Copyright 1987, 1988, 1989, 1990 HEWLETT-PACKARD COMPANY */
35 extern void FindClientPlacement (ClientData *pCD);
36 extern void FixWindowConfiguration (ClientData *pCD, unsigned int *pWidth,
37 unsigned int *pHeight,
38 unsigned int widthInc,
39 unsigned int heightInc);
40 extern void FixWindowSize (ClientData *pCD, unsigned int *pWidth,
41 unsigned int *pHeight, unsigned int widthInc,
42 unsigned int heightInc);
43 extern ClientData *GetClientInfo (WmScreenData *pSD, Window clientWindow,
45 extern ClientData *GetWmClientInfo (WmWorkspaceData *pWS, ClientData *pCD,
47 extern void CalculateGravityOffset (ClientData *pCD, int *xoff, int *yoff);
48 extern Boolean InitClientPlacement (ClientData *pCD, long manageFlags);
49 extern void InitCColormapData (ClientData *pCD);
50 extern void MakeSystemMenu (ClientData *pCD);
51 extern void PlaceFrameOnScreen (ClientData *pCD, int *pX, int *pY, int w,
53 extern void PlaceIconOnScreen (ClientData *pCD, int *pX, int *pY);
54 extern void ProcessMwmHints (ClientData *pCD);
55 extern void ProcessWmClass (ClientData *pCD);
56 extern void ProcessWmHints (ClientData *pCD, Boolean firstTime);
57 extern void ProcessWmIconTitle (ClientData *pCD, Boolean firstTime);
58 extern void ProcessWmNormalHints (ClientData *pCD, Boolean firstTime,
60 extern void ProcessWmTransientFor (ClientData *pCD);
61 extern void ProcessWmWindowTitle (ClientData *pCD, Boolean firstTime);
62 extern Boolean SetupClientIconWindow (ClientData *pCD, Window window);
63 extern Boolean WmGetWindowAttributes (Window window);
64 extern void ProcessSmClientID (ClientData *pCD);
65 extern void ProcessWmSaveHint (ClientData *pCD);