little style fixes
This commit is contained in:
parent
a547365a88
commit
692d65b0fd
|
@ -409,7 +409,9 @@ static bool _tree_next(Con *con, char way, orientation_t orientation, bool wrap)
|
||||||
GREP_FIRST(workspace, output_get_content(next_output->con), workspace_is_visible(child));
|
GREP_FIRST(workspace, output_get_content(next_output->con), workspace_is_visible(child));
|
||||||
|
|
||||||
/* Show next workspace and focus appropriate container if possible. */
|
/* Show next workspace and focus appropriate container if possible. */
|
||||||
if (workspace) {
|
if (!workspace)
|
||||||
|
return false;
|
||||||
|
|
||||||
workspace_show(workspace->name);
|
workspace_show(workspace->name);
|
||||||
Con *focus = con_descend_direction(workspace, direction);
|
Con *focus = con_descend_direction(workspace, direction);
|
||||||
if (focus)
|
if (focus)
|
||||||
|
@ -417,9 +419,6 @@ static bool _tree_next(Con *con, char way, orientation_t orientation, bool wrap)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (con->type == CT_FLOATING_CON) {
|
if (con->type == CT_FLOATING_CON) {
|
||||||
/* TODO: implement focus for floating windows */
|
/* TODO: implement focus for floating windows */
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue