Correct placing of windows :)

This commit is contained in:
Michael Stapelberg
2009-02-08 00:24:02 +01:00
parent 968a999d3d
commit 77d21f54c1
2 changed files with 91 additions and 9 deletions

6
data.h
View File

@ -48,9 +48,13 @@ typedef struct Client {
*
*/
typedef struct Container {
/* Ensure MODE_DEFAULT maps to 0 because we use calloc for initialization later */
/* Position of the container inside our table */
int row;
int col;
/* Width/Height of the container. Changeable by the user */
int width;
int height;
/* Ensure MODE_DEFAULT maps to 0 because we use calloc for initialization later */
enum { MODE_DEFAULT = 0, MODE_STACK = 1 } mode;
LIST_HEAD(client_head, Client) clients;
} Container;