mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[WIN32SS] Fix regression CORE-16393
Symptom "cmd did not hide the taskbar anymore when switching to fullscreen"
It regressed by SVN r75407 == git
09ab5ea7ed
VBox LGTM https://reactos.org/testman/compare.php?ids=69295,69297
KVM LGTM https://reactos.org/testman/compare.php?ids=69296,69298
Many thanks to the patches author James Tabor.
This commit is contained in:
parent
297abde716
commit
96ef605f4b
1 changed files with 12 additions and 0 deletions
|
@ -783,6 +783,13 @@ UserChangeDisplaySettings(
|
|||
}
|
||||
}
|
||||
|
||||
/* Check if DEVMODE matches the current mode */
|
||||
if (pdm == ppdev->pdmwDev && !(flags & CDS_RESET))
|
||||
{
|
||||
ERR("DEVMODE matches, nothing to do\n");
|
||||
goto leave;
|
||||
}
|
||||
|
||||
/* Shall we apply the settings? */
|
||||
if (!(flags & CDS_NORESET))
|
||||
{
|
||||
|
@ -926,6 +933,11 @@ NtUserChangeDisplaySettings(
|
|||
return DISP_CHANGE_BADFLAGS;
|
||||
}
|
||||
|
||||
if ((dwflags & CDS_RESET) && (dwflags & CDS_NORESET))
|
||||
{
|
||||
return DISP_CHANGE_BADFLAGS;
|
||||
}
|
||||
|
||||
/* Copy the device name */
|
||||
if (pustrDevice)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue