https://bugs.winehq.org/show_bug.cgi?id=55810
--- Comment #11 from Zeb Figura z.figura12@gmail.com --- (In reply to Zhiyi Zhang from comment #10)
Yes, probably should just check for the config option value instead.
It turns out it's not this simple, because the desktop can also be made virtual by passing "/desktop=xyzzy" to explorer.exe.
I don't see an obvious way to retrieve "the" explorer.exe thread or its desktop, and it's not even clear to me what makes it special?