code style fixes for the previous commit

• our function names use underscores
• rewrote the function’s comment
• function comments must be in the source _and_ in the header
• no blank lines after function signatures
This commit is contained in:
Michael Stapelberg
2012-11-25 20:55:49 +01:00
parent f41fa1baa1
commit 19cbd3cbec
3 changed files with 13 additions and 9 deletions

View File

@ -575,7 +575,6 @@ void cmd_move_con_to_workspace_number(I3_CMD, char *which) {
}
static void cmd_resize_floating(I3_CMD, char *way, char *direction, Con *floating_con, int px) {
LOG("floating resize\n");
if (strcmp(direction, "up") == 0) {
floating_con->rect.y -= px;
@ -589,7 +588,7 @@ static void cmd_resize_floating(I3_CMD, char *way, char *direction, Con *floatin
floating_con->rect.width += px;
}
floating_checkSize(floating_con);
floating_check_size(floating_con);
}
static bool cmd_resize_tiling_direction(I3_CMD, Con *current, char *way, char *direction, int ppt) {