Instead of if console_flags != 0.
Signed-off-by: Torge Matthies openglfreak@googlemail.com --- server/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/process.c b/server/process.c index 65e2aa70de2..283cd5db209 100644 --- a/server/process.c +++ b/server/process.c @@ -1363,7 +1363,7 @@ DECL_HANDLER(new_process) /* debug_children is set to 1 by default */ }
- if (!info->data->console_flags) process->group_id = parent->group_id; + if (!(info->data->console_flags & 1)) process->group_id = parent->group_id;
info->process = (struct process *)grab_object( process ); reply->info = alloc_handle( current->process, info, SYNCHRONIZE, 0 );