Add missing return after error reporting.
Patch status: merged
Patch by Franck Michea
To apply this patch, use:
curl http://cr.i3wm.org/patch/197/raw.patch | git am
b/src/commands.c
13 |
@@ -1796,6 +1796,7 @@ void cmd_move_window_to_center(I3_CMD, char *method) { |
14 |
ystr("error"); |
15 |
ystr("Cannot change position. The window/container is not floating."); |
16 |
y(map_close); |
17 |
+ return; |
18 |
} |
19 |
|
20 |
if (strcmp(method, "absolute") == 0) { |