summaryrefslogtreecommitdiff
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-07-04 06:45:12 -0700
committerGitHub <[email protected]>2018-07-04 06:45:12 -0700
commiteed0b5614f277240be9adf4524aea39be07856c2 (patch)
treea8b2e81230fb37aa092151a39b23db562068d2b5 /sway/tree/container.c
parent7efeacf16c088f45feae3190d1f33fa3273eb6ea (diff)
parent4cb6c368a7421c0f99c796214696f6b5b3ee95fa (diff)
Merge pull request #2205 from RyanDwyer/fix-border-weirdness
Fix border weirdness
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 6f6137c4..3614d4e7 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -935,6 +935,7 @@ void container_set_floating(struct sway_container *container, bool enable) {
container_add_child(workspace->sway_workspace->floating, container);
if (container->type == C_VIEW) {
view_init_floating(container->sway_view);
+ view_set_tiled(container->sway_view, false);
}
seat_set_focus(seat, seat_get_focus_inactive(seat, container));
container_reap_empty_recursive(workspace);