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
parent c9a2265ab1
commit 34d8d4fddc
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
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 => { Message::ShowWindowMenu => {
#[cfg(not(feature = "wayland"))]
return window::show_window_menu(window::Id::MAIN); return window::show_window_menu(window::Id::MAIN);
} }
#[cfg(feature = "xdg-portal")] #[cfg(feature = "xdg-portal")]