]> git.sur5r.net Git - i3/i3/commitdiff
Add missing return after error reporting.
authorFranck Michea <franck.michea@gmail.com>
Mon, 29 Jul 2013 20:45:27 +0000 (22:45 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 8 Aug 2013 20:44:23 +0000 (22:44 +0200)
src/commands.c

index ca9a332a8385bd408eb39863e1f938c7138dfc40..cde1cd7c115f34139c6f6e8d38e32b77d82833f1 100644 (file)
@@ -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) {