fix: window menus now supported by windows using wayland feature

This commit is contained in:
Michael Aaron Murphy 2024-07-10 00:10:46 +02:00 committed by Michael Murphy
parent c9a2265ab1
commit e04c9eaf6d
2 changed files with 1 additions and 2 deletions

2
iced

@ -1 +1 @@
Subproject commit 85b077d7874ca128457207bd89e9c7d1761be714
Subproject commit 26a8598b393d90fbad113551cdfc4fc9e7ef259b

View file

@ -541,7 +541,6 @@ impl<T: Application> Cosmic<T> {
}
}
Message::ShowWindowMenu => {
#[cfg(not(feature = "wayland"))]
return window::show_window_menu(window::Id::MAIN);
}
#[cfg(feature = "xdg-portal")]