Allows to share the implementation in a better way and is a requirement
to get the Screen implementation in the QPA plugin to be based on
KWin::Screens instead of KWayland::Output.
Details
Details
- Reviewers
mart - Group Reviewers
KWin Plasma - Commits
- R108:02d3daf28a47: Add physicalSize to the Screens API
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
plugins/platforms/hwcomposer/hwcomposer_backend.cpp | ||
---|---|---|
197 | This breaks the build.. will fix it however. /workspace/build/plugins/platforms/hwcomposer/hwcomposer_backend.cpp: In function ‘KWayland::Server::OutputInterface* KWin::createOutput(hwc_composer_device_1_t*)’: /workspace/build/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:197:10: error: ‘m_physicalSize’ was not declared in this scope m_physicalSize = QSizeF(qreal(pixel.width() * 1000) / qreal(attr_values[2]) * factor, |
Comment Actions
This breaks the build.. will fix it however.
Tricky, the method using m_physicalSize is static method, would it cause any issue if I make m_physicalSize also static?