D25832: [events] Update Layer when WMWindowType changes
Kai Uwe Broulik
noreply at phabricator.kde.org
Tue Dec 10 09:12:49 GMT 2019
broulik created this revision.
broulik added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
broulik requested review of this revision.
REVISION SUMMARY
When changing window flags, any custom window type is removed by Qt because it doesn't know them.
So in case of e.g. Notification windows, they turn into regular windows, and then Plasma Dialog re-applies the proprietary window type. This confuses KWin about the stacking order and the window disappears behind other windows.
TEST PLAN
I can unset `WindowDoesNotAcceptFocus` in a `NotificationType` window without KWin getting confused now
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D25832
AFFECTED FILES
events.cpp
To: broulik, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, 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/20191210/4b288e29/attachment.html>
More information about the kwin
mailing list