Updating to version 0.20.2
[wmaker-crm.git] / src / properties.h
blob26867fc8856e01aa2f06bf680f30f8a0e3628f20
1 /*
2 * Window Maker window manager
3 *
4 * Copyright (c) 1997, 1998 Alfredo K. Kojima
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19 * USA.
23 #ifndef WMPROPERTIES_H_
24 #define WMPROPERTIES_H_
26 #include "GNUstep.h"
28 #ifdef MWM_HINTS
29 # include "motif.h"
30 #endif
33 int PropGetNormalHints(Window window, XSizeHints *size_hints, int *pre_iccm);
34 void PropGetProtocols(Window window, WProtocols *prots);
35 int PropGetWMClass(Window window, char **wm_class, char **wm_instance);
36 int PropGetGNUstepWMAttr(Window window, GNUstepWMAttributes **attr);
37 void PropWriteGNUstepWMAttr(Window window, GNUstepWMAttributes *attr);
38 int PropGetClientLeader(Window window, Window *leader);
40 void PropSetWMakerProtocols(Window root);
41 void PropCleanUp(Window root);
43 #ifdef MWM_HINTS
44 int PropGetMotifWMHints(Window window, MWMHints **mwmhints);
45 #endif
47 #endif