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