On Tue Apr 14 13:16:06 2026 +0000, Rémi Bernon wrote:
Similarly, this could be done in ImeProcessKey? Or is it meant to match some native behavior? If so, it would be nice to have a couple of tests. This bit is from the original implementation that once lived in macdrv, that was done by @aricstewart I believe, and I carried that forward assuming these exceptions are there for a reason (probably macOS IME misbehaving in weird ways when passing them through).
FWIW native Windows ImeProcessKey actually returns 0x3 for these meta keys curiously enough, which at the very least means the `BOOL` signature we have for ImmProcessKey/ImeProcessKey is not correct. Similar to above, there is also a bit of a more abstract question of whether we are trying to match native behavior as much as possible, or are just doing our own thing in a way that is most convenient, since third party IMEs can also be loaded on Windows similarly. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9992#note_136107