http://bugs.winehq.org/show_bug.cgi?id=4897
------- Additional Comments From the3dfxdude@gmail.com 2006-28-03 21:05 ------- Hi, I posted a patch under bug 4948.
Here is what it attempts to do based on your comment #9: Sometimes we have GetDesktopWindow called before the desktop window is created, and it takes care of that. But sometimes it is called and there is already a desktop. This probably happens in our cases. We have two programs running each with their own windows. In the case that it does we still need to do detach_window_thread inside the server call of get_desktop_window even when we are not forcing creation just yet (first call). This seems to give us what we want. Making force always 1 on the call could give us more desktop windows. However this patch does not do that and maybe this way they share like we want??