Diffusion KWin 969403b35fe5

Make iterating over Layer enum simple

Authored by gladhorn on Aug 11 2019, 2:23 PM.

Description

Make iterating over Layer enum simple

Summary:
Having a function with a confusing comment, to iterate over the enum,
is mostly confusing. Make it boring by just moving the cast to the one
place that uses it.

Reviewers: KWin, romangg, zzag

Reviewed By: KWin, romangg, zzag

Subscribers: zzag, kwin

Tags: KWin

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

Details

Committed
gladhornAug 11 2019, 2:23 PM
Reviewer
KWin
Differential Revision
D23085: Make iterating over Layer enum simple
Parents
R108:dd944b2d5e82: Fix warning: -Wdeprecated-copy - implement StrutRect::operator=
Branches
Unknown
Tags
Unknown