Renamed package to ion1, and made it conflict with package 'ion'.
[ion1.git] / src / winprops.h
blobf35b3137b415d3ca9144e487c61b6501d977c89a
1 /*
2 * ion/winprops.h
4 * Copyright (c) Tuomo Valkonen 1999-2001.
5 * See the included file LICENSE for details.
6 */
8 #ifndef INCLUDED_WINPROPS_H
9 #define INCLUDED_WINPROPS_H
11 #include "common.h"
12 #include "obj.h"
14 enum TransientMode{
15 TRANSIENT_MODE_NORMAL,
16 TRANSIENT_MODE_CURRENT,
17 TRANSIENT_MODE_OFF
20 INTRSTRUCT(WWinProp)
22 DECLSTRUCT(WWinProp){
23 char *data;
24 char *wclass;
25 char *winstance;
27 int flags;
28 int switchto;
29 int stubborn;
30 int transient_mode;
31 int max_w, max_h;
32 int aspect_w, aspect_h;
34 WWinProp *next, *prev;
38 extern WWinProp *find_winprop(const char *wclass, const char *winstance);
39 extern WWinProp *find_winprop_win(Window win);
40 extern void free_winprop(WWinProp *winprop);
41 extern void register_winprop(WWinProp *winprop);
43 #endif /* INCLUDED_WINPROPS_H */