• 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
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...