Diffusion KWin a13ecf8d0e03

[wayland] Add new XdgOutput properties

Authored by davidedmundson on Apr 8 2020, 9:38 AM.

Description

[wayland] Add new XdgOutput properties

Summary:
AbstractOutput::name() behaviour is changed so that it matches the X11
behaviour, showing an identifier like "HDMI-0".

XdgOutput.name is set to this name.

XdgOutput.description is currently set to the manufacturer name and
model, but it's not exposed to Qt so we probably don't care too much.

This should fix plasmashell changing applets when switching between X11
and wayland.

Test Plan:
Relevant unit test
I still need to run it on my laptop.

Reviewers: KWin, Plasma, zzag

Reviewed By: KWin, Plasma, zzag

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D28230

Details

Committed
davidedmundsonApr 8 2020, 9:39 AM
Reviewer
KWin
Differential Revision
D28230: [wayland] Add new XdgOutput properties
Parents
R108:564c739371c8: Wayland: Allow to set a scroll Factor for input devices
Branches
Unknown
Tags
Unknown