slight fix

This commit is contained in:
taiyu 2015-08-26 16:50:47 -07:00
parent 274e56a602
commit 4df64127e9
3 changed files with 25 additions and 5 deletions

View file

@ -366,6 +366,7 @@ static bool cmd_move(struct sway_config *config, int argc, char **argv) {
return false;
}
// TODO handle case of workspace, something similar to _do_split
if (view->type != C_CONTAINER && view->type != C_VIEW) {
return false;
}