Diffusion KWin 1347610bb935

Rework ShellClient fullscreen control

Authored by romangg on Jan 9 2019, 7:49 PM.

Description

Rework ShellClient fullscreen control

Summary:
The ShellClient::setFullScreen method was a direct copy of the Client
version.

Straighten out the function logic now and align with modern coding style.

In short we check:

  1. what the manual override window rule wants,
  2. if there is a change at all with this,
  3. if such a change is possible.

And do:

  1. (un-)set the fullscreen,
  2. emit the changed signal.

Test Plan: Manually, autotests pass.

Reviewers: KWin

Subscribers: zzag, kwin

Tags: KWin

Maniphest Tasks: T11098

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

Details

Committed
romanggJul 8 2019, 10:44 AM
Differential Revision
D18132: Rework ShellClient fullscreen control
Parents
R108:3e1b61664224: Merge branch 'Plasma/5.16'
Branches
Unknown
Tags
Unknown