File: placement.h

package info (click to toggle)
notion 3%2B2012042300-1
  • links: PTS, VCS
  • area: non-free
  • in suites: wheezy
  • size: 4,724 kB
  • sloc: ansic: 45,614; makefile: 544; sh: 409; perl: 113
file content (33 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (3)
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
/*
 * ion/mod_tiling/placement.h
 *
 * Copyright (c) Tuomo Valkonen 1999-2009. 
 *
 * 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 WTilingPlacementParams* 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 */