On macOS, Alt+letter accelerators (Motif mnemonics, e.g. Alt+X) never
reach the client, so menu accelerators do not work in xwpe.
KMOD_ALT is present and convertModifierState already maps it to
Mod1Mask, but on macOS Option also emits a character via SDL_TEXTINPUT,
so the combination does not surface as a clean Mod1Mask KeyPress the Xt
or Motif accelerator path recognizes.
Could libx11-compat map Option to Alt the way XQuartz does with its
"Option keys send Alt_L/Alt_R" setting (see SDL issue #12007)? That
would make accelerators usable for any Motif or Xt client on macOS.
Env: macOS, sdl2-compat 2.32.70 on SDL3 3.4.12.
On macOS, Alt+letter accelerators (Motif mnemonics, e.g. Alt+X) never
reach the client, so menu accelerators do not work in xwpe.
KMOD_ALT is present and convertModifierState already maps it to
Mod1Mask, but on macOS Option also emits a character via SDL_TEXTINPUT,
so the combination does not surface as a clean Mod1Mask KeyPress the Xt
or Motif accelerator path recognizes.
Could libx11-compat map Option to Alt the way XQuartz does with its
"Option keys send Alt_L/Alt_R" setting (see SDL issue #12007)? That
would make accelerators usable for any Motif or Xt client on macOS.
Env: macOS, sdl2-compat 2.32.70 on SDL3 3.4.12.