Set output device's logical size
Needs ReviewPublic

Authored by romangg on Dec 30 2019, 10:48 PM.

Details

Reviewers
davidedmundson
Group Reviewers
KWin
Maniphest Tasks
T11222: Reimagine output cloning
Summary

This adds protocol methods and API to query and set explicitly the logical size
of an output where the logical size is defined as the internal representation
of this output in the compositor space.

Test Plan

Tested with output replications through KScreen.

Diff Detail

Repository
R127 KWayland
Branch
replicaSize
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 20426
Build 20444: arc lint + arc unit
romangg created this revision.Dec 30 2019, 10:48 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 30 2019, 10:48 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
romangg requested review of this revision.Dec 30 2019, 10:48 PM

This is an alternative to D23619 with more patches to come as discussed with David back then.

src/client/outputdevice.h
98

rm

src/client/protocols/outputdevice.xml
293

fix summary

296

spelling

src/server/outputdevice_interface.h
86

rm

I thought about adding separate events/requests for an immutable`logical_size` just giving always back the current logical size of the output and logical_size_override always giving back the explicitly set logical size or an invalid size if none is set.

romangg updated this revision to Diff 72615.Jan 2 2020, 2:06 PM
romangg marked 4 inline comments as done.
  • Add autotest
  • Cleanup