Code style: fix misaligned and misindented comments
This commit is contained in:
parent
b6282b47bc
commit
27030c8566
12
src/render.c
12
src/render.c
|
@ -135,16 +135,16 @@ void render_con(Con *con) {
|
|||
if ((child = TAILQ_FIRST(&(con->focus_head)))) {
|
||||
/* By rendering the stacked container again, we handle the case
|
||||
* that we have a non-leaf-container inside the stack. In that
|
||||
* case, the children of the non-leaf-container need to be raised
|
||||
* as well. */
|
||||
* case, the children of the non-leaf-container need to be
|
||||
* raised as well. */
|
||||
render_con(child);
|
||||
}
|
||||
|
||||
if (params.children != 1)
|
||||
/* Raise the stack con itself. This will put the stack decoration on
|
||||
* top of every stack window. That way, when a new window is opened in
|
||||
* the stack, the old window will not obscure part of the decoration
|
||||
* (it’s unmapped afterwards). */
|
||||
/* Raise the stack con itself. This will put the stack
|
||||
* decoration on top of every stack window. That way, when a
|
||||
* new window is opened in the stack, the old window will not
|
||||
* obscure part of the decoration (it’s unmapped afterwards). */
|
||||
x_raise_con(con);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -413,8 +413,7 @@ int sd_booted(void) {
|
|||
|
||||
struct stat a, b;
|
||||
|
||||
/* We simply test whether the systemd cgroup hierarchy is
|
||||
* mounted */
|
||||
/* We simply test whether the systemd cgroup hierarchy is mounted */
|
||||
|
||||
if (lstat("/sys/fs/cgroup", &a) < 0)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue