Commit f4cb3230 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

server: Update the DF_WINE_CREATE_DESKTOP desktop flag on opening.

parent 0a6b5c79
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include "winbase.h" #include "winbase.h"
#include "winuser.h" #include "winuser.h"
#include "winternl.h" #include "winternl.h"
#include "ntuser.h"
#include "object.h" #include "object.h"
#include "handle.h" #include "handle.h"
...@@ -240,7 +241,11 @@ static struct desktop *create_desktop( const struct unicode_str *name, unsigned ...@@ -240,7 +241,11 @@ static struct desktop *create_desktop( const struct unicode_str *name, unsigned
list_add_tail( &winstation->desktops, &desktop->entry ); list_add_tail( &winstation->desktops, &desktop->entry );
list_init( &desktop->hotkeys ); list_init( &desktop->hotkeys );
} }
else clear_error(); else
{
desktop->flags |= (flags & DF_WINE_CREATE_DESKTOP);
clear_error();
}
} }
return desktop; return desktop;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment