Move some common and untidy code for window link/unlink into generic functions

instead of duplicating it in move/link window..
This commit is contained in:
Nicholas Marriott
2009-09-20 17:27:18 +00:00
parent 273f1b385c
commit 9b5f5ed8e8
7 changed files with 74 additions and 104 deletions

View File

@ -47,6 +47,7 @@ cmd_kill_window_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
server_kill_window(wl->window);
recalculate_sizes();
return (0);
}