1
0
Fork 0
mirror of https://github.com/swaywm/sway.git synced 2025-03-29 17:46:21 +00:00

Call view_set_tiled for mapping non-floating views

Fixes .
This commit is contained in:
Ryan Dwyer 2018-07-05 09:04:15 +10:00
parent eed0b5614f
commit fc826b921f

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