changed indentation to use spaces only
[wmaker-crm.git] / src / properties.h
blob3708062135b9987f0499462f78e4e23e3ec1cfd5
1 /*
2 * Window Maker window manager
4 * Copyright (c) 1997-2003 Alfredo K. Kojima
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 unsigned char* PropGetCheckProperty(Window window, Atom hint, Atom type,
29 int format, int count, int *retCount);
31 int PropGetWindowState(Window window);
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);
39 void PropSetWMakerProtocols(Window root);
40 void PropCleanUp(Window root);
41 void PropSetIconTileHint(WScreen *scr, RImage *image);
43 Window PropGetClientLeader(Window window);
45 #ifdef XSMP_ENABLED
46 char *PropGetClientID(Window window);
47 #endif
50 #endif