xdg/wayland-shell: handle set_app_id and set_class events

This commit is contained in:
Johan Malm 2021-10-16 21:50:56 +01:00
parent e140682528
commit e2ae63a7cf
5 changed files with 38 additions and 6 deletions

View file

@ -10,13 +10,8 @@ view_impl_map(struct view *view)
desktop_focus_and_activate_view(&view->server->seat, view);
desktop_raise_view(view);
const char *app_id = view->impl->get_string_prop(view, "app_id");
if (app_id) {
wlr_foreign_toplevel_handle_v1_set_app_id(
view->toplevel_handle, app_id);
}
view_update_title(view);
view_update_app_id(view);
damage_all_outputs(view->server);
}