[platforms/virtual] Let VirtualOutput inherit Output
ClosedPublic

Authored by romangg on Mar 29 2018, 8:00 PM.

Details

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 one exception: 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 therefore needs to be
adapted to take this special case into account.

Diff Detail

Branch
virtualScreensRework
Lint
No Linters Available
Unit
No Unit Test Coverage
romangg created this revision.Mar 29 2018, 8:00 PM
Restricted Application added a project: KWin. · View Herald TranscriptMar 29 2018, 8:00 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
romangg requested review of this revision.Mar 29 2018, 8:00 PM
romangg updated this revision to Diff 30883.Mar 29 2018, 8:49 PM

Rebase on parent changes

romangg updated this revision to Diff 31206.Apr 3 2018, 11:26 AM
  • Fix decoration input test
graesslin accepted this revision.Apr 5 2018, 5:59 PM
This revision is now accepted and ready to land.Apr 5 2018, 5:59 PM
romangg updated this revision to Diff 33438.May 1 2018, 8:05 PM

Rebase on parent revision changes

romangg updated this revision to Diff 35363.Jun 1 2018, 6:43 PM

Rebase on parent revision changes

romangg updated this revision to Diff 35694.Jun 6 2018, 5:10 PM

Rebase on parent revision changes

This revision was automatically updated to reflect the committed changes.