win32u: Update the display cache when virtual desktop mode changes.
commita0cd5e053bbd9ca9f124186c7da27605026ad7e5
authorRémi Bernon <rbernon@codeweavers.com>
Thu, 29 Jun 2023 10:47:05 +0000 (29 12:47 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 29 Jun 2023 19:28:38 +0000 (29 21:28 +0200)
treeb477b3cbc5fa6329613401d3549308778680bcb7
parent05b21755954b83f26b609b9cc0ea4a5ffa2142c5
win32u: Update the display cache when virtual desktop mode changes.

We update the cache in NtUserCreateDesktopEx, as it may change existing
thread desktop flags, but we need to do it as well when a new desktop is
created while still detached, then attached to a thread through
NtUserSetThreadDesktop.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55146
dlls/win32u/winstation.c