Merge pull request #2211 from RyanDwyer/fix-xdgtoplevel-tiled

Call view_set_tiled for mapping non-floating views
This commit is contained in:
emersion 2018-07-05 00:12:09 +01:00 committed by GitHub
commit dd869c158e
Failed to generate hash of commit

View file

@ -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)) { if (view->impl->wants_floating && view->impl->wants_floating(view)) {
container_set_floating(view->swayc, true); container_set_floating(view->swayc, true);
} else {
view_set_tiled(view, true);
} }
input_manager_set_focus(input_manager, cont); input_manager_set_focus(input_manager, cont);