Diffusion KWin 4ec24bc43faa

Make support for full screen mode optional

Authored by zzag on Feb 4 2020, 6:12 PM.

Description

Make support for full screen mode optional

Summary:
In long term, we want to split XdgShellClient into several classes. One
class for xdg-toplevel clients, and the other one for xdg-popup clients.

xdg-popup clients are much simpler than xdg-toplevel clients, they can't
be maximized or shown in full screen mode, they can't be interactively
moved on the screen, and so on. In the end, we will have to plumb many
pure virtual methods, which looks a bit ugly.

This change makes support for full screen mode in AbstractClient optional
so we don't have to add those no-op methods and keep code more or less
"clean."

Test Plan: Compiles.

Reviewers: KWin

Subscribers: kwin

Tags: KWin

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

Details

Committed
zzagFeb 12 2020, 9:28 AM
Differential Revision
D27162: Make support for full screen mode optional
Parents
R108:624317a78d75: Don't pass any arguments to AbstractClient::doSetDesktop()
Branches
Unknown
Tags
Unknown