Aric Stewart aric@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.