First approachments in direction of table-based layout

This commit is contained in:
Michael Stapelberg
2009-02-07 02:43:28 +01:00
parent 023ec870a2
commit efb8c11b7f
2 changed files with 93 additions and 68 deletions

5
data.h
View File

@ -2,6 +2,7 @@
* This file defines all data structures used by i3
*
*/
#include "queue.h"
/*
* Defines a position in the table
@ -36,4 +37,8 @@ typedef struct Client {
/* XCB contexts */
xcb_gcontext_t titlegc;
xcb_window_t window;
xcb_window_t child;
/* The following entry provides the necessary list pointers to use Client with LIST_* macros */
LIST_ENTRY(Client) clients;
} Client;