Merge branch 'app-list-toplevel-dev' into master_jammy
This commit is contained in:
commit
87ea9f06c9
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue