Diffusion KWin 34df058e5480

Make support for the minimized state optional

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

Description

Make support for the minimized state 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 the minimized state 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/D27163

Details

Committed
zzagFeb 12 2020, 9:28 AM
Differential Revision
D27163: Make support for the minimized state optional
Parents
R108:4ec24bc43faa: Make support for full screen mode optional
Branches
Unknown
Tags
Unknown