mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[0.4.13][WIN32SS] Fix regression CORE-16393
Symptom "cmd did not hide the taskbar anymore when switching to fullscreen" It regressed by SVN r75407 == git09ab5ea7ed
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. cherry picked from commit 0.4.14-dev-38-g96ef605f4b
This commit is contained in:
parent
1e50a4e7d3
commit
0a03b36aee
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