diff --git a/crates/egui-winit/src/lib.rs b/crates/egui-winit/src/lib.rs index a78339d01fe..fce733ed207 100644 --- a/crates/egui-winit/src/lib.rs +++ b/crates/egui-winit/src/lib.rs @@ -800,7 +800,9 @@ impl State { // contain some data even when the key is released. let is_cmd = self.egui_input.modifiers.ctrl || self.egui_input.modifiers.command - || self.egui_input.modifiers.mac_cmd; + || self.egui_input.modifiers.mac_cmd + || (self.egui_ctx.os() == egui::os::OperatingSystem::Windows + && self.egui_input.modifiers.alt); if pressed && !is_cmd { self.egui_input .events