Diffusion KWin 4ae6c99c6bc4

Introduce AbstractClient::createDecoration()

Authored by zzag on Feb 25 2020, 12:57 PM.

Description

Introduce AbstractClient::createDecoration()

Summary:
We have duplicated code in InternalClient and XdgShellClient to create
decorations. In order to get rid of the code duplication, this change
introduces a method that AbstractClient subclasses can call to create
a window decoration.

Test Plan: Tests pass.

Reviewers: KWin, apol

Reviewed By: apol

Subscribers: apol, kwin

Tags: KWin

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

Details

Committed
zzagMar 5 2020, 8:25 AM
Reviewer
apol
Differential Revision
D27822: Introduce AbstractClient::createDecoration()
Parents
R108:17e6bd8587cd: decorationbridge: Fix crash on plasma mobile
Branches
Unknown
Tags
Unknown