Diffusion KWin b22c362bd525

[platforms/virtual] Let VirtualOutput inherit Output

Authored by romangg on Mar 29 2018, 4:38 PM.

Description

[platforms/virtual] Let VirtualOutput inherit Output

Summary:
Let VirtualOutput be a child class of the new generic class Output.
This allows code sharing and a very similar behavior of the Virtual backend
in comparision to the Drm backend.

Test Plan:
Autotests succesful with two exceptions: The decoration input test fails on
testDoubleTap, row topLeft. This is to be expected because now the
ScreenEdgeInputFilter captures the event at position (0,0) before the
DecorationEventFilter can capture it. The autotest was adapted to take this
special case into account.

Also the lockscreen test fails, because the virtual output is currently missing
the physical size yet.

Reviewers: KWin

Subscribers: kwin

Tags: KWin

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

Details

Committed
romanggAug 31 2018, 9:56 AM
Differential Revision
D11789: [platforms/virtual] Let VirtualOutput inherit Output
Parents
R108:3482378278d6: Introduce OutputScreens class
Branches
Unknown
Tags
Unknown