mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 21:30:44 +01:00
Making applications track modifier keys results in unnecessary work for consumers, it's error prone, and it turns out to have unavoidable bugs. For example, alt-tabbing with x11 results in the alt modifier state getting stuck. To resolve these problems, this patch adds a Mods value to the keyboard input event. Based on this patch: https://github.com/jwilm/glutin/commit/d287fa96e3a8b2568b189067eedd28807c4568d6