With 1a11abc821f4 X11 standalone plugin uses the AbstractOutput interface for
managing its outputs. In there the refresh rate is stored in 1/μs.
Details
Details
- Reviewers
- None
- Group Reviewers
KWin - Commits
- R108:99d921707fc7: [platforms/x11/standalone] Fix stored refresh rate
currentRefreshRate() provides correct rate.
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
In there the refresh rate is stored in 1/μs.
That's actually incorrect. The resulting frequency will be in MHz, not in mHz!
Let's expand 1/μs = 1000/ms a bit further just to be sure
1/μs = 1 000/ms = 1 000 000/s = 1 000 000 (1/s) = 1 000 000 Hz = 1 MHz
Comment Actions
refreshRate, geometry, and gammaRampSize are documented in AbstractOutput. I suggest removing all redundant doxygen documentation in X11Output.