diff --git a/src/wayland/protocols/toplevel_info.rs b/src/wayland/protocols/toplevel_info.rs index 6367844d..4a36c710 100644 --- a/src/wayland/protocols/toplevel_info.rs +++ b/src/wayland/protocols/toplevel_info.rs @@ -318,6 +318,7 @@ fn send_toplevel_to_client( 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( 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; }