summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2015-09-12 22:45:11 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2015-09-12 22:45:11 +0200
commit6c3ce84ee2c39e8b2fa50609cab4c08664993a74 (patch)
tree9fec8b8a51cc8677efdfc877e6ea1d133d77f758
parentf3c91bb7596a5ae59960f64da5b834fd6fcab083 (diff)
downloadmcwm-6c3ce84ee2c39e8b2fa50609cab4c08664993a74.zip
Superfluous comments.
-rw-r--r--mcwm.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/mcwm.c b/mcwm.c
index d0f943f..aeb5ba6 100644
--- a/mcwm.c
+++ b/mcwm.c
@@ -471,7 +471,7 @@ struct modkeycodes getmodkeys(xcb_mod_mask_t modmask)
PDEBUG("Got %d keycodes.\n", keycodes.len);
}
- } /* for mask */
+ }
free(reply);
@@ -511,7 +511,7 @@ void arrangewindows(void)
{
client = item->data;
fitonscreen(client);
- } /* for */
+ }
}
/* Set the EWMH hint that window win belongs on workspace ws. */
@@ -651,7 +651,7 @@ void changeworkspace(uint32_t ws)
*/
xcb_unmap_window(conn, client->id);
}
- } /* for */
+ }
/* Go through list of new ws. Map everything that isn't fixed. */
for (item = wslist[ws]; item != NULL; item = item->next)
@@ -1305,7 +1305,7 @@ int setupkeys(void)
xcb_grab_key(conn, 1, screen->root, MODKEY | SHIFTMOD,
keys[i].keycode,
XCB_GRAB_MODE_ASYNC, XCB_GRAB_MODE_ASYNC);
- } /* for */
+ }
/* Need this to take effect NOW! */
xcb_flush(conn);
@@ -1432,7 +1432,7 @@ int setupscreen(void)
}
free(attr);
- } /* for */
+ }
changeworkspace(0);
@@ -1674,7 +1674,7 @@ void getoutputs(xcb_randr_output_t *outputs, int len, xcb_timestamp_t timestamp)
fitonscreen(client);
}
- } /* for */
+ }
/* It's not active anymore. Forget about it. */
delmonitor(mon);
@@ -1682,7 +1682,7 @@ void getoutputs(xcb_randr_output_t *outputs, int len, xcb_timestamp_t timestamp)
}
free(output);
- } /* for */
+ }
}
void arrbymon(struct monitor *monitor)
@@ -1705,7 +1705,7 @@ void arrbymon(struct monitor *monitor)
{
fitonscreen(client);
}
- } /* for */
+ }
}
@@ -2467,7 +2467,7 @@ static void snapwindow(struct client *client, int snap_mode)
}
}
} /* mcwm_resize */
- } /* for */
+ }
/* monitor border */
if (snap_mode == MCWM_MOVE) {
@@ -4012,8 +4012,8 @@ void events(void)
/* Get out of for... */
break;
}
- } /* for keycodes. */
- } /* if tabbing. */
+ }
+ }
}
break;
@@ -4250,11 +4250,11 @@ void events(void)
/* We're finished. Break out of for loop. */
break;
}
- } /* for */
+ }
}
break;
- } /* switch */
+ }
/* Forget about this event. */
free(ev);