Fix compilation with desktop-applet feature
This commit is contained in:
parent
5b1211a853
commit
fc79b0ecd6
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||||
_ => {}
|
_ => {}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue