Add XdgOutputV1 version 2
ClosedPublic

Authored by davidedmundson on Feb 21 2020, 1:04 AM.

Details

Reviewers
zzag
Group Reviewers
KWin
Commits
R127:8b355825a3b8: Add XdgOutputV1 version 2
Summary

Will be useful for making plasma widgets not move about
on multi monitor. QtWayland already supports it

Test Plan

Unit test

Diff Detail

Repository
R127 KWayland
Branch
master
Lint
Lint ErrorsExcuse: asdf
SeverityLocationCodeMessage
Errorsrc/client/datadevicemanager.h:76CppcheckunknownMacro
Errorsrc/client/output.h:97CppcheckunknownMacro
Errorsrc/client/output.h:97CppcheckunknownMacro
Unit
No Unit Test Coverage
Build Status
Buildable 22734
Build 22752: arc lint + arc unit
davidedmundson created this revision.Feb 21 2020, 1:04 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptFeb 21 2020, 1:04 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
davidedmundson requested review of this revision.Feb 21 2020, 1:04 AM
davidedmundson updated this revision to Diff 76077.

update

apol added a subscriber: apol.Feb 21 2020, 1:34 AM

+1 LGTM

src/server/xdgoutput_interface.cpp
319

noob question: what would happen if you didn't have this check?

zzag accepted this revision.Feb 21 2020, 8:11 AM
This revision is now accepted and ready to land.Feb 21 2020, 8:11 AM
davidedmundson added inline comments.Feb 21 2020, 1:43 PM
src/server/xdgoutput_interface.cpp
319

If a client that only knew version1 connected and we sent this event, the client would raise a protocol error and quit.

This revision was automatically updated to reflect the committed changes.