reactos/win32ss/gdi/eng
Joachim Henze e8cc477de5 [0.4.9][WIN32K:ENG] Fix fullscreen switch regressions CORE-15325 & CORE-14684 PR#1659
In PDEVOBJ_vRefreshModeList, find a proper match for the current
display mode instead of assuming a constant index.

Both tickets CORE-15325 & CORE-14684 regressed by SVN r74404
384affe098

fix cherry picked from commit 0.4.13-dev-456-g
00e882c2b1
Many thanks to the patches author Thomas Faber.

With this commit we sync PDEVOBJ_vRefreshModeList() to the state I used in 0.4.12rls and 0.4.13rls.

This patch does fix:
- regression CORE-15325 "Pocket Tanks 1.6 not filling the whole screen because it does not switch its resolution when coming from desktop res 1024x768 32bpp"
- regression CORE-14684 "Fall 0.1.3 opens just a white window instead of content when started with desktop resolution 1024x768 32bpp"
- regression "Globulation 2 0.9.4.4 not filling the whole screen when configured to use fullscreen and running it from desktop resolution 1024x768 32bpp"

but also helps to fix the last app that was still affected by CORE-14363 "systray icons do flash through now when an app is running in fullscreen".
CORE-14363 actually was fixed for >95% of the apps already by my last commit into the releases, but there was an outlier that does require Thomas patch additionally, that was:
- "Pengupop 2.2.3 when being run from desktop with 1024x768 32 bpp"

I committed it beforehand:
- for master:    0.4.13-dev-456-g00e882c
- for 0.4.12rls: 0.4.12-RC-34-gec3cc13
- for 0.4.11rls: 0.4.11-release-4-g11e0b0b
- for 0.4.10rls: 0.4.10-release-6-g58f9e1e
2020-10-08 17:53:51 +02:00
..
i386
alphablend.c
bitblt.c
bitblt_new.c
clip.c
copybits.c
debug.c
device.c
device.h
driverobj.c
driverobj.h
drvdbg.c
eng.h
engbrush.c
engevent.c
engevent.h
engmisc.c
engobjects.h
engwindow.c [WIN32SS] 2017-11-18 12:15:45 +01:00
error.c
float.c
floatobj.h
gradient.c
inteng.h
ldevobj.c
ldevobj.h
lineto.c
mapping.c
mapping.h
math.c
mem.c
mouse.c
mouse.h
paint.c
pathobj.c
pdevobj.c [0.4.9][WIN32K:ENG] Fix fullscreen switch regressions CORE-15325 & CORE-14684 PR#1659 2020-10-08 17:53:51 +02:00
pdevobj.h [WIN32SS] 2017-11-18 12:15:45 +01:00
perfcnt.c
rlecomp.c
semaphor.c
sort.c
stretchblt.c
string.c
stubs.c
surface.c
surface.h [WIN32SS] 2017-11-18 12:15:45 +01:00
transblt.c
umpdstubs.c
xlateobj.c
xlateobj.h