]> git.decadent.org.uk Git - ion3.git/blob - mod_tiling/placement.h
[svn-upgrade] Integrating new upstream version, ion3 (20070506)
[ion3.git] / mod_tiling / placement.h
1 /*
2  * ion/mod_tiling/placement.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2007. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_MOD_TILING_PLACEMENT_H
10 #define ION_MOD_TILING_PLACEMENT_H
11
12 #include <libmainloop/hooks.h>
13 #include <ioncore/common.h>
14 #include <ioncore/clientwin.h>
15 #include <ioncore/manage.h>
16 #include "tiling.h"
17
18
19 typedef struct{
20     WTiling *ws;
21     WRegion *reg;
22     const WManageParams *mp;
23     
24     WFrame *res_frame;
25 } WTilingPlacementParams;
26
27 /* Handlers of this hook should take (WClientWin*, WTiling*, WManageParams*) 
28  * as parameter. 
29  */
30 extern WHook *tiling_placement_alt;
31
32 extern WPHolder *tiling_prepare_manage(WTiling *ws, const WClientWin *cwin,
33                                       const WManageParams *param, int redir);
34
35 #endif /* ION_MOD_TILING_PLACEMENT_H */