• Zhiyi Zhang's avatar
    winecfg: Use SM_CYSIZE to set and get caption height. · 982c9974
    Zhiyi Zhang authored
    After applying a theme with CaptionBarHeight set, caption height from SPI_GETNONCLIENTMETRICS is set
    to the specified size. However in refresh_sysparams(), the caption height is refreshed and the value
    from SM_CXSIZE is used and ends up overwriting the theme specified caption height. SM_CYSIZE is the
    correct index instead of SM_CXSIZE.
    
    You may need to turn a theme off and on for the correct caption height to take effect after the fix.
    982c9974
Name
Last commit
Last update
..
Makefile.in Loading commit data...
about.c Loading commit data...
appdefaults.c Loading commit data...
audio.c Loading commit data...
drive.c Loading commit data...
driveui.c Loading commit data...
idw_testsound.wav Loading commit data...
libraries.c Loading commit data...
logo.ico Loading commit data...
logo.svg Loading commit data...
main.c Loading commit data...
resource.h Loading commit data...
theme.c Loading commit data...
winecfg.c Loading commit data...
winecfg.h Loading commit data...
winecfg.ico Loading commit data...
winecfg.man.in Loading commit data...
winecfg.manifest Loading commit data...
winecfg.rc Loading commit data...
winecfg.svg Loading commit data...
x11drvdlg.c Loading commit data...