While KWin gained support for changing modes it did not yet forward it
to the Wayland OutputInterface. This change implements this missing todo
by finding the matching mode and marking it as current.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin Plasma - Commits
- R108:59f7ed9c780a: [platforms/drm] Forward the mode changes to the OutputInterface
Run kinfocenter to verify the current mode is properly set.
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/drm/drm_output.cpp | ||
---|---|---|
273 | This method is coded so that init() can be called twice. Either:
(either through disconnecting or just putting the m_waylandOutput->setCurrentMode() call in ::updateMode | |
280 | Every other setFooBar guards m_waylandOutput. It seems currently superfuous, but as soon as we code up enabledChanged to work it'll be needed. |