Move the X11 specific OverlayWindow into the platform/x11
ClosedPublic

Authored by graesslin on Aug 7 2017, 4:00 PM.

Details

Summary

The overlay window is only needed for the X11 based compositors. Given
that it is better suited in the X11 platform. Unfortunately it is not
possible to completely move it into the platform plugin as it is still
referenced in KWin core (e.g. SceneXRender). Due to that the
OverlayWindow in KWin core is turned into a pure virtual class with the
implementation being moved into the plugin.

The platform API gains a new virtual factory method which is only
implemented in the X11 platform.

Test Plan

Compiles

Diff Detail

Repository
R108 KWin
Branch
overlaywindow-to-platform
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin created this revision.Aug 7 2017, 4:00 PM
Restricted Application added a project: KWin. · View Herald TranscriptAug 7 2017, 4:00 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
mart accepted this revision.Aug 10 2017, 3:08 PM
This revision is now accepted and ready to land.Aug 10 2017, 3:08 PM
This revision was automatically updated to reflect the committed changes.