summary refs log tree commit diff
path: root/mousefunc.c
diff options
context:
space:
mode:
authorokan <okan>2014-09-01 18:17:32 +0000
committerokan <okan>2014-09-01 18:17:32 +0000
commit231abb818ae3bdb8ea01a7df99d0895f38327748 (patch)
treebe4fdbcba91f00e49ba7df706049aa6f4a655d6e /mousefunc.c
parentbecc7f260c1230def154a98b8f80829d466aa18c (diff)
downloadcwm-231abb818ae3bdb8ea01a7df99d0895f38327748.tar.gz
cwm-231abb818ae3bdb8ea01a7df99d0895f38327748.tar.xz
cwm-231abb818ae3bdb8ea01a7df99d0895f38327748.zip
add explicit paran and drop some empty lines bringing like functions closer
Diffstat (limited to 'mousefunc.c')
-rw-r--r--mousefunc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mousefunc.c b/mousefunc.c
index ef96cb3..2537059 100644
--- a/mousefunc.c
+++ b/mousefunc.c
@@ -194,7 +194,6 @@ mousefunc_menu_group(struct client_ctx *cc, union arg *arg)
 		    group_hidden_state(gc) ? "%d: [%s]" : "%d: %s",
 		    gc->num, sc->group_names[gc->num]);
 	}
-
 	if (TAILQ_EMPTY(&menuq))
 		return;
 
@@ -220,16 +219,15 @@ mousefunc_menu_unhide(struct client_ctx *cc, union arg *arg)
 	old_cc = client_current();
 
 	TAILQ_INIT(&menuq);
-	TAILQ_FOREACH(cc, &Clientq, entry)
+	TAILQ_FOREACH(cc, &Clientq, entry) {
 		if (cc->flags & CLIENT_HIDDEN) {
 			wname = (cc->label) ? cc->label : cc->name;
 			if (wname == NULL)
 				continue;
-
 			menuq_add(&menuq, cc, "(%d) %s",
 			    cc->group ? cc->group->num : 0, wname);
 		}
-
+	}
 	if (TAILQ_EMPTY(&menuq))
 		return;
 
@@ -257,7 +255,6 @@ mousefunc_menu_cmd(struct client_ctx *cc, union arg *arg)
 	TAILQ_INIT(&menuq);
 	TAILQ_FOREACH(cmd, &Conf.cmdq, entry)
 		menuq_add(&menuq, cmd, "%s", cmd->name);
-
 	if (TAILQ_EMPTY(&menuq))
 		return;