From 834a5795874ec82bc26656434d58926a92d1d925 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 17 Sep 2007 13:32:20 +0200 Subject: [PATCH] comment client.h --- client.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/client.h b/client.h index 061239df..2808c0d8 100644 --- a/client.h +++ b/client.h @@ -22,17 +22,20 @@ #ifndef AWESOME_CLIENT_H #define AWESOME_CLIENT_H -/* mask shorthands, used in event.c and client.c */ -#define BUTTONMASK (ButtonPressMask | ButtonReleaseMask) - #include "config.h" +/** Mask shorthands, used in event.c and client.c */ +#define BUTTONMASK (ButtonPressMask | ButtonReleaseMask) + typedef struct Client Client; struct Client { + /** Client name */ char name[256]; + /** Window geometry */ int x, y, w, h; - int rx, ry, rw, rh; /* revert geometry */ + /** Real window geometry for floating */ + int rx, ry, rw, rh; int basew, baseh, incw, inch, maxw, maxh, minw, minh; int minax, maxax, minay, maxay; int unmapped; @@ -44,9 +47,12 @@ struct Client Client *prev; Client *snext; Window win; + /** Client display */ Display * display; + /** Client screen */ int screen; - Bool ftview; /* first time viewed on new layout */ + /** First time viewed on new layout */ + Bool ftview; }; void attach(Client *); /* attaches c to global client list */ -- 2.11.4.GIT