diff --git a/src/commands.c b/src/commands.c index ca9a332a..cde1cd7c 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1796,6 +1796,7 @@ void cmd_move_window_to_center(I3_CMD, char *method) { ystr("error"); ystr("Cannot change position. The window/container is not floating."); y(map_close); + return; } if (strcmp(method, "absolute") == 0) {