]> git.decadent.org.uk Git - ion3.git/blob - mod_tiling/placement.h
a61f892d7e76eb36fa958fd8794e4e853ea141ec
[ion3.git] / mod_tiling / placement.h
1 /*
2  * ion/mod_tiling/placement.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2007. 
5  *
6  * Ion is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  */
11
12 #ifndef ION_MOD_TILING_PLACEMENT_H
13 #define ION_MOD_TILING_PLACEMENT_H
14
15 #include <libmainloop/hooks.h>
16 #include <ioncore/common.h>
17 #include <ioncore/clientwin.h>
18 #include <ioncore/manage.h>
19 #include "tiling.h"
20
21
22 typedef struct{
23     WTiling *ws;
24     WRegion *reg;
25     const WManageParams *mp;
26     
27     WFrame *res_frame;
28 } WTilingPlacementParams;
29
30 /* Handlers of this hook should take (WClientWin*, WTiling*, WManageParams*) 
31  * as parameter. 
32  */
33 extern WHook *tiling_placement_alt;
34
35 extern WPHolder *tiling_prepare_manage(WTiling *ws, const WClientWin *cwin,
36                                       const WManageParams *param, int redir);
37
38 #endif /* ION_MOD_TILING_PLACEMENT_H */