protocols: refactor class member vars (core) (#10259)
This commit is contained in:
parent
0c736217a7
commit
d9cad5e1b6
57 changed files with 1160 additions and 1158 deletions
|
|
@ -47,7 +47,7 @@ void CFractionalScaleProtocol::onGetFractionalScale(CWpFractionalScaleManagerV1*
|
|||
if (std::ranges::find_if(m_mSurfaceScales, [surface](const auto& e) { return e.first == surface; }) == m_mSurfaceScales.end())
|
||||
m_mSurfaceScales.emplace(surface, 1.F);
|
||||
|
||||
if (surface->mapped)
|
||||
if (surface->m_mapped)
|
||||
PADDON->setScale(m_mSurfaceScales.at(surface));
|
||||
|
||||
// clean old
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue