foreign: handle minimize request

This commit is contained in:
Johan Malm 2021-08-05 13:00:34 +01:00
parent b4722d988e
commit 9cf0608aba
5 changed files with 28 additions and 18 deletions

View file

@ -98,7 +98,7 @@ desktop_focus_view(struct seat *seat, struct view *view)
}
if (view->minimized) {
/* this will unmap and then focus */
view_unminimize(view);
view_minimize(view, false);
return;
} else if (view->mapped) {
struct wlr_surface *prev_surface;