From 71b7860ba33cf71e6908f695596e50292da9dd7d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 22 Oct 2007 11:21:27 +0200 Subject: [PATCH] cosmetic and documente Bool-s attribute in Client --- client.c | 2 +- config.h | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index f137f14b..3e917ea8 100644 --- a/client.c +++ b/client.c @@ -606,7 +606,7 @@ unmanage(Client *c, long state, awesome_config *awesomeconf) } void -updatesizehints(Client * c) +updatesizehints(Client *c) { long msize; XSizeHints size; diff --git a/config.h b/config.h index ee4a3da0..2e3d271c 100644 --- a/config.h +++ b/config.h @@ -108,7 +108,14 @@ struct Client Bool unmapped; long flags; int border, oldborder; - Bool isfixed, ismax, isfloating, wasfloating; + /** Store previous floating state before maximizing */ + Bool wasfloating; + /** True if the window is floating */ + Bool isfloating; + /** True if the window is fixed */ + Bool isfixed; + /** True if the window is maximized */ + Bool ismax; /** Tags for the client */ Bool *tags; /** Next client */