diff --git a/server/thread.c b/server/thread.c index 148ca3b2b47..bdb6c3ce62b 100644 --- a/server/thread.c +++ b/server/thread.c @@ -222,6 +222,7 @@ struct thread *create_thread( int fd, struct process *process ) thread->process = (struct process *)grab_object( process ); thread->desktop = process->desktop; + thread->affinity = process->affinity; if (!current) current = thread; list_add_head( &thread_list, &thread->entry );