]> git.sur5r.net Git - i3/i3/blob - include/table.h
Implement Xinerama (workspaces have a specific screen)
[i3/i3] / include / table.h
1 /*
2  * vim:ts=8:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  *
6  * (c) 2009 Michael Stapelberg and contributors
7  *
8  * See file LICENSE for license information.
9  *
10  */
11 #include <stdbool.h>
12
13 #include "data.h"
14
15 #ifndef _TABLE_H
16 #define _TABLE_H
17
18 #define CUR_TABLE (c_ws->table)
19 #define CUR_CELL (CUR_TABLE[current_col][current_row])
20
21 extern Workspace *c_ws;
22 extern Workspace workspaces[10];
23 extern int current_col;
24 extern int current_row;
25
26 void init_table();
27 void expand_table_rows(Workspace *workspace);
28 void expand_table_cols(Workspace *workspace);
29 bool cell_exists(int col, int row);
30
31 #endif