diff options
author | emersion <contact@emersion.fr> | 2018-07-05 00:12:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 00:12:09 +0100 |
commit | dd869c158e083b20190b680b11a0b6356ba8a5e5 (patch) | |
tree | cb1cb4cef3b1b4f49ca43e43b6210ffcff406ed6 /sway/tree | |
parent | eed0b5614f277240be9adf4524aea39be07856c2 (diff) | |
parent | fc826b921f26f0f68e687114ee1f761e03bc19f4 (diff) |
Merge pull request #2211 from RyanDwyer/fix-xdgtoplevel-tiled
Call view_set_tiled for mapping non-floating views
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/view.c | 2 |
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) { if (view->impl->wants_floating && view->impl->wants_floating(view)) { container_set_floating(view->swayc, true); + } else { + view_set_tiled(view, true); } input_manager_set_focus(input_manager, cont); |