Files
reims-vgpu/docs/graphics-kext
Anees Iqbal 46f492f2c9 🐛 Name the Windows key Win in the window's title on Windows
The person at a Windows host saw the captured window's title say "press
Ctrl+Alt+Super to release": Windows keyboards have no key named Super. The
chord is SDL's GUI key with Ctrl and Alt, and on Windows SDL gives the left
and right Windows keys as that GUI key (VK_LWIN/VK_RWIN and scan codes
E0 5B/E0 5C to SDL_SCANCODE_LGUI/RGUI, read from SDL 3.4.18's code), so the
title there now says " — input captured (press Ctrl+Alt+Win to release)".
Linux keeps Ctrl+Alt+Super and macOS its ⌃⌥⌘.

The text is now capture::captured_suffix(HostOs), one string per OS, and
Capture::title_suffix takes the host's OS: each OS's file of native/ names
its own (HOST_OS on Linux and Windows, HostOs::MacOs in AppKit's input), so
no cfg spreads into shared code, and
the_title_names_the_release_chord_in_the_host_s_keys checks every OS's
string on every host, the Windows one included, which no test outside the
Windows mini reached before. features.md's capture entry, README.md and
the design doc name the Windows chord.
2026-11-23 22:05:56 -08:00
..