aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authoroga2008-05-15 22:18:00 +0000
committeroga2008-05-15 22:18:00 +0000
commit6a2c99a2df8d170eda74cccacbb5a5225d617d21 (patch)
tree0c8e74b70b51716961b2eb2057f7a26aa4e58de4 /client.c
parent15b4ab26e054ad00b82c48c070089cdb52cc823c (diff)
downloadcwm-6a2c99a2df8d170eda74cccacbb5a5225d617d21.tar.gz
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to '')
-rw-r--r--client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/client.c b/client.c
index f4efb74..2bc8ac7 100644
--- a/client.c
+++ b/client.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: client.c,v 1.20 2008/05/15 21:56:21 okan Exp $
+ * $Id: client.c,v 1.21 2008/05/15 22:18:00 oga Exp $
*/
#include "headers.h"
@@ -330,9 +330,9 @@ client_maximize(struct client_ctx *cc)
cc->geom.x = Conf.gap_left;
cc->geom.y = Conf.gap_top;
cc->geom.height = rootwin_geom.height -
- (Conf.gap_top + Conf.gap_bottom);
+ (Conf.gap_top + Conf.gap_bottom);
cc->geom.width = rootwin_geom.width -
- (Conf.gap_left + Conf.gap_right);
+ (Conf.gap_left + Conf.gap_right);
cc->flags |= CLIENT_DOMAXIMIZE;
}
@@ -726,7 +726,7 @@ client_vertmaximize(struct client_ctx *cc)
cc->savegeom = cc->geom;
cc->geom.y = cc->bwidth + Conf.gap_top;
cc->geom.height = display_height -
- (Conf.gap_top + Conf.gap_bottom);
+ (Conf.gap_top + Conf.gap_bottom);
cc->flags |= CLIENT_DOVMAXIMIZE;
}
@@ -768,7 +768,7 @@ client_gethints(struct client_ctx *cc)
mha = XInternAtom(X_Dpy, "_MOTIF_WM_HINTS", False);
if (xu_getprop(cc, mha, mha, PROP_MWM_HINTS_ELEMENTS,
- (u_char **)&mwmh) == MWM_NUMHINTS)
+ (u_char **)&mwmh) == MWM_NUMHINTS)
if (mwmh->flags & MWM_HINTS_DECORATIONS &&
!(mwmh->decorations & MWM_DECOR_ALL) &&
!(mwmh->decorations & MWM_DECOR_BORDER))