setup for resizable windows, drop weight

This commit is contained in:
taiyu 2015-08-20 04:47:36 -07:00
parent ba6034e8c8
commit fbaa9111a8
5 changed files with 58 additions and 30 deletions

View file

@ -242,6 +242,7 @@ static bool cmd_floating(struct sway_config *config, int argc, char **argv) {
add_sibling(focused, view);
}
// Refocus on the view once its been put back into the layout
view->width = view->height = 0;
arrange_windows(active_workspace, -1, -1);
}
set_focused_container(view);