Merge branch 'app-list-toplevel-dev' into master_jammy

This commit is contained in:
Victoria Brekenfeld 2022-07-20 17:26:11 +02:00
commit 87ea9f06c9

View file

@ -318,6 +318,7 @@ fn send_toplevel_to_client<D>(
ToplevelHandleStateInner::from_window(window),
)
{
info.toplevel(&toplevel_handle);
state.instances.push(toplevel_handle);
state.instances.last().unwrap()
} else {
@ -349,7 +350,7 @@ fn send_toplevel_to_client<D>(
changed = true;
}
if handle_state.app_id != attributes.app_id.as_deref().unwrap_or(&"") {
handle_state.title = attributes.app_id.clone().unwrap_or_else(String::new);
handle_state.app_id = attributes.app_id.clone().unwrap_or_else(String::new);
instance.app_id(handle_state.app_id.clone());
changed = true;
}