Add missing return after error reporting.
This commit is contained in:
parent
c296a57db9
commit
69d7adcf49
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue