Add new api to support window tabs
Needs ReviewPublic

Authored by graesslin on May 20 2018, 12:17 PM.

Details

Reviewers
None
Group Reviewers
KWin
Plasma
Summary

The new API basically just provides a vector of DecoratedClient
referring to the window tabs. This was the idea on how to implement
window tabs I had back when starting the implementation of KDecoration2.
There are a few more requests to close a specific tab and to activate a
tab.

On the private side a new subclass is added, which KWin can implement to
provide window tab support.

Test Plan

Early review and KWin doesn't use the new API yet, so completely
untested. Will not merge prior to using the API in KWin.

Diff Detail

Repository
R129 Window Decoration Library
Branch
window-tab-api
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin created this revision.May 20 2018, 12:17 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 20 2018, 12:17 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
graesslin requested review of this revision.May 20 2018, 12:17 PM
zzag added a subscriber: zzag.Nov 4 2018, 10:59 PM

Ping?

src/decoration.h
126

Looks like the version has to be bumped. :-)

src/private/decoratedclientprivate.h
144

Is there a reason why this constructor is explicit?

In D12997#354190, @zzag wrote:

Ping?

The code doesn't work yet, the API is still lacking some functionality