KWin::displayWidth and KWin::displayHeight are bound to X11 which
doesn't make much sense on X11. In addition KWin internally knows
the overall display dimensions through the Screens singleton class.
Details
Details
- Reviewers
- None
- Group Reviewers
KWin Plasma - Commits
- R108:1e13deaa1d56: Port some displayWidth/displayHeight usages to Screens::size()
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.
Comment Actions
- rebased to current master
- added a virtual Screens::displaySize which returns same as ::size by default but on X11 the good old displayWidth/displayHeight
- code in geometry.cpp which is X11 bound used this new displaySize, so also panning is supported