1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

server: Update the DF_WINE_CREATE_DESKTOP desktop flag on opening.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55047
This commit is contained in:
Rémi Bernon 2023-06-14 19:25:40 +02:00 committed by Alexandre Julliard
parent 0a6b5c7932
commit f4cb3230d8

View File

@ -30,6 +30,7 @@
#include "winbase.h"
#include "winuser.h"
#include "winternl.h"
#include "ntuser.h"
#include "object.h"
#include "handle.h"
@ -240,7 +241,11 @@ static struct desktop *create_desktop( const struct unicode_str *name, unsigned
list_add_tail( &winstation->desktops, &desktop->entry );
list_init( &desktop->hotkeys );
}
else clear_error();
else
{
desktop->flags |= (flags & DF_WINE_CREATE_DESKTOP);
clear_error();
}
}
return desktop;
}