From 69d7adcf499aa716586e4b920dfd60e10f9233b0 Mon Sep 17 00:00:00 2001 From: Franck Michea Date: Mon, 29 Jul 2013 22:45:27 +0200 Subject: [PATCH] Add missing return after error reporting. --- src/commands.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.39.5