]> git.sur5r.net Git - i3/i3/blob - include/con.h
add first version of a new flex/bison based command parser
[i3/i3] / include / con.h
1 #ifndef _CON_H
2 #define _CON_H
3
4 Con *con_new(Con *parent);
5 bool con_is_leaf(Con *con);
6 bool con_accepts_window(Con *con);
7 Con *con_get_output(Con *con);
8 Con *con_get_workspace(Con *con);
9 Con *con_get_fullscreen_con(Con *con);
10 bool con_is_floating(Con *con);
11 Con *con_by_window_id(xcb_window_t window);
12 Con *con_by_frame_id(xcb_window_t frame);
13 Con *con_for_window(i3Window *window, Match **store_match);
14 void con_attach(Con *con, Con *parent);
15 void con_detach(Con *con);
16 bool match_matches_window(Match *match, i3Window *window);
17
18 enum { WINDOW_ADD = 0, WINDOW_REMOVE = 1 };
19 void con_fix_percent(Con *con, int action);
20
21 #endif