commit | 92fec7b67abc3c87ebeab0b45a6c99cb88407325 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Tue Jun 28 19:37:52 2005 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Jun 28 19:37:52 2005 +0000 |
tree | 25571867ed2786e93f83ab2ea0436a3f2810abd0 | |
parent | 52736b47431751e1a39c97cc2b55abcce4d6f59c [diff] [blame] |
Keep track of the windows and hooks used by a thread to properly refuse to change the thread desktop when it's in use.
diff --git a/server/thread.c b/server/thread.c index 819fd9f..46d1e6e 100644 --- a/server/thread.c +++ b/server/thread.c
@@ -140,6 +140,7 @@ thread->suspend = 0; thread->creation_time = time(NULL); thread->exit_time = 0; + thread->desktop_users = 0; list_init( &thread->mutex_list ); list_init( &thread->system_apc );