Implement isPopupWindow for internal windows
Summary:
Just accessing Qt::Popup WindowFlag.
BUG: 402852
Test Plan: Not tested for the described problematic case
Reviewers: KWin
Subscribers: kwin
Tags: KWin
Differential Revision: https://phabricator.kde.org/D17981