]> git.decadent.org.uk Git - ion3.git/blob - mod_tiling/placement.h
18724a9366362f3adce1b6806784b017a64630ae
[ion3.git] / mod_tiling / placement.h
1 /*
2  * ion/mod_tiling/placement.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2008. 
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 WTilingPlacementParams* as parameter. */
28 extern WHook *tiling_placement_alt;
29
30 extern WPHolder *tiling_prepare_manage(WTiling *ws, const WClientWin *cwin,
31                                       const WManageParams *param, int redir);
32
33 #endif /* ION_MOD_TILING_PLACEMENT_H */