Huw Davies (@huw) commented about dlls/winecoreaudio.drv/mmdevdrv.c:
> +
> DeleteCriticalSection(&g_sessions_lock);
> break;
> }
> return TRUE;
> }
>
> +static DWORD CALLBACK main_loop_func(void *event)
> +{
> + struct main_loop_params params;
> +
> + SetThreadDescription(GetCurrentThread(), L"coreaudio_main");
> +
> + params.event = event;
> +
> + ALSA_CALL(main_loop, ¶ms);
```suggestion:-0+0
UNIX_CALL(main_loop, ¶ms);
```
(and in the next commit)
But also there seem to be a lot of small pointless differences (mainly in whitespace) between the new implementations in the non-pulse drivers and the existing one in the pulse driver. That means the merge commits have unnecessary changes.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3027#note_35262
This is to prevent NULL pointers when creating a TextService with no rows in it.
This NULL pointers doesn't happen when creating a richedit windows, because
it sets an empty text when the richedit window procedure handles the WM_CREATE event.
--
v8: riched20: Call ME_UpdateRepaint instead of editor_ensure_visible in set_selection.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2941
[5/5] is actually not relevant to this serial, but my next serial will depend on it, so I submit it by the way first, so that I can avoid maintaining too many patches locally. :D
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/3028
nCharOfs is the key for paragraphs added to the marked tree
If it is updated, re-add the entry to update its position
--
v2: riched20: Update paragraph position in marked tree.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3020