D27439: Replaced isDock check with !hasDecoration
David Edmundson
noreply at phabricator.kde.org
Thu Mar 26 10:43:45 GMT 2020
davidedmundson added a comment.
> Frankly, I don't know what the best way to detect plasma dialogs is. Maybe @davidedmundson has an idea.
Apparently we don't want to do that. Notifications are plasma dialogs, and Veggero says they should be excluded.
If we want to find the panel and popups relating to the panel, our best bet is:
w->isDock || w->transientFor()->isDock()
That means exposing transientFor in EffectWindow, but that could be useful in general anyway.
That should work on Wayland too
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D27439
To: niccolove, #kwin, zzag, davidedmundson
Cc: davidedmundson, ngraham, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200326/7a5d181a/attachment.html>
More information about the kwin
mailing list