Rémi Bernon (@rbernon) commented about dlls/winemac.drv/keyboard.c:
unsigned int flags; int keyc; bool ret; - BOOL repeat = !!(vsc & 0x4000); + BOOL repeat = !!(vsc & KF_REPEAT);
TRACE("himc %p, vkey %#x state %p repeat %u\n", himc, vkey, state, repeat);
- if (!state) return 0; + if (!state) return STATUS_SUCCESS; + + if (!macdrv_using_input_method()) return STATUS_NOT_IMPLEMENTED;
Not a big issue but is this still necessary now? Is it for cases where native HKL are supposed to be IMEs but the host isn't? In such cases we could use alternative non-IME HKL ids instead (ie: layout id with 0xf000 high bits, instead of 0xe000 which means IME). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9992#note_136079