diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2009-11-28 17:52:13 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2009-11-28 17:52:13 +0000 |
commit | e9e82bdc601665e3d5ff0fcd3d9820ae513b10f3 (patch) | |
tree | 8110e0a0dd7bd976c1aa9aa063bf218d2ffc44a0 /app/cwm | |
parent | f1687ead71aa1032d0bd9439ddd57f2a318d6c9a (diff) |
style (whitespaces)
ok oga, okan
Diffstat (limited to 'app/cwm')
-rw-r--r-- | app/cwm/client.c | 8 | ||||
-rw-r--r-- | app/cwm/kbfunc.c | 4 | ||||
-rw-r--r-- | app/cwm/menu.c | 2 | ||||
-rw-r--r-- | app/cwm/screen.c | 4 | ||||
-rw-r--r-- | app/cwm/xevents.c | 4 |
5 files changed, 11 insertions, 11 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c index 0e6a8c04f..8531b9e3b 100644 --- a/app/cwm/client.c +++ b/app/cwm/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.65 2009/09/25 15:57:49 oga Exp $ + * $Id: client.c,v 1.66 2009/11/28 17:52:12 tobias Exp $ */ #include "headers.h" @@ -441,7 +441,7 @@ client_draw_border(struct client_ctx *cc) static void client_update(struct client_ctx *cc) { - Atom *p; + Atom *p; int i; long n; @@ -694,10 +694,10 @@ client_getsizehints(struct client_ctx *cc) cc->geom.inch = MAX(1, cc->geom.inch); if (cc->size->flags & PAspect) { - if (cc->size->min_aspect.x > 0) + if (cc->size->min_aspect.x > 0) cc->geom.mina = (float)cc->size->min_aspect.y / cc->size->min_aspect.x; - if (cc->size->max_aspect.y > 0) + if (cc->size->max_aspect.y > 0) cc->geom.maxa = (float)cc->size->max_aspect.x / cc->size->max_aspect.y; } diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c index 4dfaaf6b3..cd5ae72b8 100644 --- a/app/cwm/kbfunc.c +++ b/app/cwm/kbfunc.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: kbfunc.c,v 1.43 2009/09/05 16:06:15 okan Exp $ + * $Id: kbfunc.c,v 1.44 2009/11/28 17:52:12 tobias Exp $ */ #include <paths.h> @@ -386,7 +386,7 @@ kbfunc_client_label(struct client_ctx *cc, union arg *arg) char *current; TAILQ_INIT(&menuq); - + current = cc->label; if ((mi = menu_filter(&menuq, "label", current, 1, diff --git a/app/cwm/menu.c b/app/cwm/menu.c index 4488020a3..83be09bbf 100644 --- a/app/cwm/menu.c +++ b/app/cwm/menu.c @@ -336,7 +336,7 @@ menu_draw(struct screen_ctx *sc, struct menu_ctx *mc, struct menu_q *menuq, mi->print : mi->text; font_draw(sc, text, MIN(strlen(text), MENU_MAXENTRY), - sc->menuwin, 0, n*font_height() + font_ascent() + 1); + sc->menuwin, 0, n * font_height() + font_ascent() + 1); n++; } diff --git a/app/cwm/screen.c b/app/cwm/screen.c index 850ac5fd2..3516b746f 100644 --- a/app/cwm/screen.c +++ b/app/cwm/screen.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: screen.c,v 1.18 2009/11/22 21:38:50 tobias Exp $ + * $Id: screen.c,v 1.19 2009/11/28 17:52:12 tobias Exp $ */ #include "headers.h" @@ -77,7 +77,7 @@ screen_init_xinerama(struct screen_ctx *sc) HasXinerama = 0; sc->xinerama_no = 0; } - + info = XineramaQueryScreens(X_Dpy, &no); if (info == NULL) { /* Is xinerama actually off, instead of a malloc failure? */ diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c index 38efe679d..62fe8b8df 100644 --- a/app/cwm/xevents.c +++ b/app/cwm/xevents.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: xevents.c,v 1.43 2009/08/27 01:38:08 okan Exp $ + * $Id: xevents.c,v 1.44 2009/11/28 17:52:12 tobias Exp $ */ /* @@ -375,7 +375,7 @@ xev_handle_randr(XEvent *ee) } } -/* +/* * Called when the keymap has changed. * Ungrab all keys, reload keymap and then regrab */ |