server: Connect to the window station and desktop specified by startup info.
If window station and desktop aren't inherited from the parent, don't
connect to them from the server, but from the USER init code where we
can get the proper values from the startup info structure.
diff --git a/server/window.c b/server/window.c
index 24db2c9..ca1be13 100644
--- a/server/window.c
+++ b/server/window.c
@@ -442,6 +442,7 @@
list_init( &win->entry );
assert( !desktop->top_window );
desktop->top_window = win;
+ set_process_default_desktop( current->process, desktop, current->desktop );
}
current->desktop_users++;