Released version 3-2015061300
[notion.git] / mod_tiling / placement.h
blob24906032e4c2c3a154849f8f35bb10ac02ed323a
1 /*
2 * ion/mod_tiling/placement.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_MOD_TILING_PLACEMENT_H
10 #define ION_MOD_TILING_PLACEMENT_H
12 #include <libmainloop/hooks.h>
13 #include <ioncore/common.h>
14 #include <ioncore/clientwin.h>
15 #include <ioncore/manage.h>
16 #include "tiling.h"
19 typedef struct{
20 WTiling *ws;
21 WRegion *reg;
22 const WManageParams *mp;
24 WFrame *res_frame;
25 } WTilingPlacementParams;
27 /* Handlers of this hook should take WTilingPlacementParams* as parameter. */
28 extern WHook *tiling_placement_alt;
30 extern WPHolder *tiling_prepare_manage(WTiling *ws, const WClientWin *cwin,
31 const WManageParams *param, int redir);
33 #endif /* ION_MOD_TILING_PLACEMENT_H */