Fix compilation with desktop-applet feature

This commit is contained in:
Jeremy Soller 2025-11-20 17:16:27 -07:00
parent 5b1211a853
commit fc79b0ecd6
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA

View file

@ -4689,7 +4689,7 @@ impl Application for App {
#[cfg(all(feature = "wayland", feature = "desktop-applet"))] #[cfg(all(feature = "wayland", feature = "desktop-applet"))]
Message::Focused(id) => { Message::Focused(id) => {
if let Some(w) = self.windows.get(&id) { if let Some(w) = self.windows.get(&id) {
match w.kind { match &w.kind {
WindowKind::Desktop(entity) => self.tab_model.activate(*entity), WindowKind::Desktop(entity) => self.tab_model.activate(*entity),
_ => {} _ => {}
}; };