Problem with explorer desktop and PAINT messages
Jesse Allen
the3dfxdude at gmail.com
Wed Apr 12 09:52:39 CDT 2006
On 4/12/06, Alexandre Julliard <julliard at winehq.org> wrote:
> "Jesse Allen" <the3dfxdude at gmail.com> writes:
>
> > WaitForSingleObject in kernel32. The read call is in wait_reply of
> > dlls/ntdll/thread.c and that is where that thread gets stuck.
>
> Does this help?
>
> diff --git a/server/window.c b/server/window.c
> index 8254793..5ceab49 100644
> --- a/server/window.c
> +++ b/server/window.c
> @@ -426,7 +426,7 @@ static struct window *create_window( str
> }
>
> /* if parent belongs to a different thread, attach the two threads */
> - if (parent && parent->thread && parent->thread != current)
> + if (parent && parent->thread && parent->thread != current && !is_desktop_window(parent))
> {
> if (!attach_thread_input( current, parent->thread )) goto failed;
> }
>
> --
> Alexandre Julliard
> julliard at winehq.org
>
Yes. Both app and test app ok. That explains it too. =)
More information about the wine-devel
mailing list