Sweden-Number/dlls/uxtheme
Zhiyi Zhang aefcd057b1 uxtheme: Save temporary system metrics to a struct in memory.
So that temporary system metrics are not saved in the registry. Saving
them to the registry creates a race condition when two processes are
trying to activate theming at the same time, one process might save
themed system metrics instead of unthemed system metrics to the registry.
The race condition will be more apparent when initializing a wine prefix
after theming is turned on by default in wine.inf.

This patch refactors the system metric helper functions to use an
in-memory struct and is a prerequisite to remove the race condition.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-21 11:20:29 +02:00
..
tests uxtheme: Do not change system metrics in EnableTheming(). 2021-09-22 09:40:00 +02:00
Makefile.in makefiles: Make -mno-cygwin the default. 2021-09-20 22:45:48 +02:00
buffer.c uxtheme: Remove unused code. 2021-02-22 20:20:10 +01:00
dialog.c uxtheme: Move themed dialog to uxtheme. 2021-07-20 18:49:55 +02:00
draw.c uxtheme: Get DPI from theme class. 2021-09-01 17:06:22 +02:00
main.c uxtheme: Avoid memory leaks. 2021-07-05 17:52:47 +02:00
metric.c
msstyles.c uxtheme: Initialize system metrics in 96 DPI. 2021-09-22 09:39:40 +02:00
msstyles.h uxtheme: Get DPI from theme class. 2021-09-01 17:06:22 +02:00
property.c
scrollbar.c uxtheme: Use OpenThemeDataForDpi() to create a theme handle not associated to a window. 2021-09-01 17:06:22 +02:00
stylemap.c uxtheme: Support more HiDPI properties. 2021-08-24 12:13:35 +02:00
system.c uxtheme: Save temporary system metrics to a struct in memory. 2021-10-21 11:20:29 +02:00
uxini.c
uxtheme.manifest uxtheme: Add comctl32 v6 manifest. 2021-08-25 10:39:54 +02:00
uxtheme.spec uxtheme: Implement OpenThemeDataForDpi(). 2021-09-01 17:06:22 +02:00
uxthemedll.h uxtheme: Support drawing themed standard scroll bars. 2021-07-20 18:50:11 +02:00
version.rc uxtheme: Add comctl32 v6 manifest. 2021-08-25 10:39:54 +02:00