Draw nice borders. Looks like wmii now :P

This commit is contained in:
Michael Stapelberg
2009-02-10 00:39:48 +01:00
parent 90e3541c94
commit 2562502316
3 changed files with 104 additions and 37 deletions

7
data.h
View File

@ -59,11 +59,12 @@ struct Client {
/* Backpointer. A client is inside a container */
Container *container;
int width, height;
/* XCB contexts */
xcb_gcontext_t titlegc;
xcb_window_t window;
xcb_window_t child;
xcb_window_t frame; /* Our window: The frame around the client */
xcb_gcontext_t titlegc; /* The titlebars graphic context inside the frame */
xcb_window_t child; /* The clients window */
/* The following entry provides the necessary list pointers to use Client with LIST_* macros */
CIRCLEQ_ENTRY(Client) clients;