Diffusion KWin b66dfc315678

Drop checkArea helper

Authored by zzag on Sep 13 2019, 9:19 AM.

Description

Drop checkArea helper

Summary:
So far some placement policies were handling special case when area is
a null rectangle. However, there is no good reason to do that. We can
just pass a valid area rectangle and remove pointless checkArea helper.
Doing so will make the code simpler and more comprehensible.

Reviewers: KWin, gladhorn

Reviewed By: KWin, gladhorn

Subscribers: gladhorn, romangg, kwin

Tags: KWin

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

Details

Committed
zzagSep 16 2019, 1:26 PM
Reviewer
KWin
Differential Revision
D23923: Drop checkArea helper
Parents
R108:9bbbf1c51f4b: Pass correct area to placeCascaded in cascadeDesktop
Branches
Unknown
Tags
Unknown