File: placement.h

package info (click to toggle)
notion 4.0.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,676 kB
  • sloc: ansic: 47,508; sh: 2,096; makefile: 603; perl: 270
file content (35 lines) | stat: -rw-r--r-- 805 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
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 */