Qian Hong <qhong(a)codeweavers.com> writes:
> One possible solution is to count threads as users rather than
> processes, but explorer.exe itself could have more than on thread,
> which makes this way complex. The attached patch use another way, just
> make explorer.exe an system process, and it will quit automatically
> few seconds after all user process exit. I don't know if there is a
> historical reason not to make explorer.exe a system process, or if
> there is a compatible reason, any background is great appreciated.
It's possible to create multiple virtual desktops, and you want them to
go away once they are no longer used. You can't have a bunch of desktop
windows stay around until the last app exits.
--
Alexandre Julliard
julliard(a)winehq.org