Add missing return after error reporting.

This commit is contained in:
Franck Michea 2013-07-29 22:45:27 +02:00 committed by Michael Stapelberg
parent c296a57db9
commit 69d7adcf49
1 changed files with 1 additions and 0 deletions

View File

@ -1796,6 +1796,7 @@ void cmd_move_window_to_center(I3_CMD, char *method) {
ystr("error"); ystr("error");
ystr("Cannot change position. The window/container is not floating."); ystr("Cannot change position. The window/container is not floating.");
y(map_close); y(map_close);
return;
} }
if (strcmp(method, "absolute") == 0) { if (strcmp(method, "absolute") == 0) {