14 Feb
2025
14 Feb
'25
10:47 a.m.
Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/wayland_text_input.c:
assert(text_input->wl_surface); hwnd = wl_surface_get_user_data(text_input->wl_surface);
- commit_len = strlen(text_input->commit_string); - if (!(output = malloc((commit_len + 1) * sizeof(WCHAR)))) + if (text_input->preedit_string && !text_input->preedit_started) { + NtUserPostMessage(hwnd, WM_WINE_IME_NOTIFY, IMN_WINE_SET_OPEN_STATUS, TRUE);
I don't think these notifications are required, winemac does without them? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7241#note_94565