fix(test): --features applet only

fix(test): `--feature wayland` only
This commit is contained in:
Hojjat 2026-05-20 10:24:28 -06:00 • committed by Michael Murphy
parent a70feab2bf
commit 8b31e83d58
4 changed files with 6 additions and 6 deletions

View file

@ -130,7 +130,7 @@ impl<'a, Message: Clone + 'static> TextEditor<'a, Message> {
}
fn uses_popup_context_menu(&self) -> bool {
#[cfg(feature = "wayland")]
#[cfg(all(feature = "wayland", feature = "winit"))]
if matches!(
crate::app::cosmic::WINDOWING_SYSTEM.get(),
Some(crate::app::cosmic::WindowingSystem::Wayland)