aboutsummaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/commands.c b/src/commands.c
index b5bc2416..009e98bf 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -1578,7 +1578,6 @@ void cmd_move_direction(I3_CMD, const char *direction_str, long amount, const ch
owindow *current;
HANDLE_EMPTY_MATCH;
- Con *initially_focused = focused;
direction_t direction = parse_direction(direction_str);
const bool is_ppt = mode && strcmp(mode, "ppt") == 0;
@@ -1612,12 +1611,6 @@ void cmd_move_direction(I3_CMD, const char *direction_str, long amount, const ch
}
}
- /* The move command should not disturb focus. con_exists is called because
- * tree_move calls tree_flatten. */
- if (focused != initially_focused && con_exists(initially_focused)) {
- con_activate(initially_focused);
- }
-
// XXX: default reply for now, make this a better reply
ysuccess(true);
}