mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-28 22:23:42 +01:00
Merge pull request #2211 from RyanDwyer/fix-xdgtoplevel-tiled
Call view_set_tiled for mapping non-floating views
This commit is contained in:
commit
dd869c158e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue