diff options
author | Taiyu <taiyu.len@gmail.com> | 2015-08-10 07:06:54 -0700 |
---|---|---|
committer | Taiyu <taiyu.len@gmail.com> | 2015-08-10 07:06:54 -0700 |
commit | f923c4e6b93a5361c1737b239dbacef6e7219b04 (patch) | |
tree | c1923dc0b6befdfd931d0b0238a5943aa279ae10 /sway/movement.c | |
parent | b43161fd45c794448d17e705413949dbb62727db (diff) |
fixed style
Diffstat (limited to 'sway/movement.c')
-rw-r--r-- | sway/movement.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/movement.c b/sway/movement.c index 4503a716..a55d0350 100644 --- a/sway/movement.c +++ b/sway/movement.c @@ -9,16 +9,16 @@ int move_focus(enum movement_direction direction) { swayc_t *current = get_focused_container(&root_container); swayc_t *parent = current->parent; - if(direction == MOVE_PARENT) { + if (direction == MOVE_PARENT) { current = parent; parent = parent->parent; - if(parent->type == C_ROOT) { + if (parent->type == C_ROOT) { sway_log(L_DEBUG, "Focus cannot move to parent"); return 1; } else { sway_log(L_DEBUG, "Moving focus away from %p", current); unfocus_all(parent); - focus_view (parent); + focus_view(parent); return 0; } } |