Files
WoWee/include
Kelsi af2c6bb280 fix: disable macOS press-and-hold accent popup during play
SDL2 leaves text input enabled for the whole session, so AppKit routes key
events through NSTextInputContext even in normal gameplay. Holding a key
with diacritics -- W, A, S, E -- opened the accent chooser over the game
instead of repeating the key.

Register ApplePressAndHoldEnabled=NO before SDL_Init brings up
NSApplication. The registration domain is process-scoped, so the user's
saved preferences are untouched; if a global setting explicitly enables
press-and-hold, fall back to this application's own domain, which outranks
NSGlobalDomain.

Needs an Objective-C++ shim, wired into both wowee and wowee_editor since
both compile window.cpp.
2026-07-24 18:10:58 -07:00
..