aboutsummaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.c b/src/commands.c
index 8a87877c..ae02ab75 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -1325,7 +1325,7 @@ void cmd_focus_direction(I3_CMD, const char *direction_str) {
HANDLE_EMPTY_MATCH;
CMD_FOCUS_WARN_CHILDREN;
- direction_t direction;
+ direction_t direction = D_LEFT;
position_t position;
bool auto_direction = true;
if (strcmp(direction_str, "prev") == 0) {