(resend) server: fixup input windows on thread_detach
Alexandre Julliard
julliard at winehq.org
Tue May 5 08:33:25 CDT 2015
Aric Stewart <aric at codeweavers.com> writes:
> @@ -637,7 +637,7 @@ DECL_HANDLER(set_thread_desktop)
> if (!current->process->desktop)
> set_process_default_desktop( current->process, new_desktop, req->handle );
>
> - if (old_desktop != new_desktop && current->queue) detach_thread_input( current );
> + if (old_desktop != new_desktop && current->queue) detach_thread_input( current, NULL );
You should also update the thread input in that case. There's no reason
to require a specific thread for this.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list