Diffusion KWin 3dff1a8a675f

[effects] Drop static_cast in getMainWindows

Authored by zzag on Dec 8 2018, 11:47 AM.

Description

[effects] Drop static_cast in getMainWindows

Summary:
We use a function template, so static_cast in getMainWindows looks out
of place. Also, it's not good idea to do static_cast based on output of
isDeleted().

Test Plan: The Dialog Parent effect works.

Reviewers: KWin, graesslin

Reviewed By: KWin, graesslin

Subscribers: kwin

Tags: KWin

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

Details

Committed
zzagDec 14 2018, 7:04 PM
Reviewer
KWin
Differential Revision
D17426: [effects] Drop static_cast in getMainWindows
Parents
R108:c3e712e967bd: Fix the X11TimestampUpdateTest
Branches
Unknown
Tags
Unknown