From 0fab85a5b66bfe0bccfd6bbd0ece68b986e5df5f Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 12 Apr 2006 11:19:20 +0200 Subject: [PATCH] server: Don't attach thread input to the desktop. Now that the desktop can be owned by a thread we need to explicitly check for it in the thread attach check. --- server/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/window.c b/server/window.c index 825479325ec..5ceab4972ac 100644 --- a/server/window.c +++ b/server/window.c @@ -426,7 +426,7 @@ static struct window *create_window( struct window *parent, struct window *owner } /* 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; }