diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-20 08:07:16 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-20 08:07:16 -0400 |
commit | 95f5660897b6640f13623178651f45549a917efb (patch) | |
tree | 0811a259f740cfc7185974c87fbdaa40e9a956e6 /sway/commands.c | |
parent | 85ae987515a9227bde15c736a941d5ee59e49dc3 (diff) | |
parent | f6e002fb8b664d80ef10126f6a204ffbb2f192df (diff) |
Merge pull request #97 from taiyu-len/master
setup for resizable windows, drop weight
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index c4cf96a2..babefd02 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -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); |