view: call wlr_foreign_toplevel_handle_v1_set_app_id() on map

Fix issue #74

Add view-impl.c with view_impl_map() containing common code for xdg-shell
and xwayland-shell.
This commit is contained in:
Johan Malm 2021-10-16 21:26:57 +01:00
parent 4d44659c08
commit e140682528
5 changed files with 31 additions and 6 deletions

View file

@ -343,9 +343,7 @@ xdg_toplevel_view_map(struct view *view)
wl_signal_add(&view->surface->events.new_subsurface,
&view->new_subsurface);
desktop_focus_and_activate_view(&view->server->seat, view);
desktop_raise_view(view);
damage_all_outputs(view->server);
view_impl_map(view);
}
static void