2 * ion/mod_panews/placement.h
4 * Copyright (c) Tuomo Valkonen 1999-2006.
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.
12 #ifndef ION_MOD_PANEWS_PLACEMENT_H
13 #define ION_MOD_PANEWS_PLACEMENT_H
15 #include <libextl/extl.h>
16 #include <libmainloop/hooks.h>
17 #include <ioncore/common.h>
18 #include <ioncore/clientwin.h>
19 #include <ioncore/manage.h>
20 #include <mod_tiling/split.h>
35 WSplitUnused *specifier;
40 } WPaneWSPlacementParams;
43 /* Handlers of this hook should accept WPaneWSInitParams as parameter. */
44 extern WHook *panews_init_layout_alt;
45 /* Handlers of this hook should accept WPaneWSPlacementParams as parameter. */
46 extern WHook *panews_make_placement_alt;
49 extern WPHolder *panews_prepare_manage(WPaneWS *ws, const WClientWin *cwin,
50 const WManageParams *param,
52 extern bool panews_handle_unused_drop(WPaneWS *ws, WSplitUnused *specifier,
55 #endif /* ION_MOD_PANEWS_PLACEMENT_H */