aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-05 09:04:15 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-07-05 09:04:15 +1000
commitfc826b921f26f0f68e687114ee1f761e03bc19f4 (patch)
treecb1cb4cef3b1b4f49ca43e43b6210ffcff406ed6 /sway/tree/view.c
parentMerge pull request #2205 from RyanDwyer/fix-border-weirdness (diff)
downloadsway-fc826b921f26f0f68e687114ee1f761e03bc19f4.tar.gz
sway-fc826b921f26f0f68e687114ee1f761e03bc19f4.tar.zst
sway-fc826b921f26f0f68e687114ee1f761e03bc19f4.zip
Call view_set_tiled for mapping non-floating views
Fixes #2209.
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index c2826f6f..6b4daa82 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -532,6 +532,8 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface) {
532 532
533 if (view->impl->wants_floating && view->impl->wants_floating(view)) { 533 if (view->impl->wants_floating && view->impl->wants_floating(view)) {
534 container_set_floating(view->swayc, true); 534 container_set_floating(view->swayc, true);
535 } else {
536 view_set_tiled(view, true);
535 } 537 }
536 538
537 input_manager_set_focus(input_manager, cont); 539 input_manager_set_focus(input_manager, cont);