diff options
author | oga <oga> | 2008-05-15 22:18:00 +0000 |
---|---|---|
committer | oga <oga> | 2008-05-15 22:18:00 +0000 |
commit | 5034a77849c3a0ed91b67d1de65f063c9056cbc7 (patch) | |
tree | c91c89a750d267bdd603a86f14323fd420cf6c80 /client.c | |
parent | ec77265b87ceb612df9d02cdf0336cdf77d3099d (diff) | |
download | cwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.tar.gz cwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.tar.xz cwm-5034a77849c3a0ed91b67d1de65f063c9056cbc7.zip |
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c index 7af597a..96c0351 100644 --- a/client.c +++ b/client.c @@ -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)) |