mirror of
https://github.com/labwc/labwc.git
synced 2026-02-16 22:05:27 -05:00
xdg/wayland-shell: handle set_app_id and set_class events
This commit is contained in:
parent
e140682528
commit
e2ae63a7cf
5 changed files with 38 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue