D25832: [events] Update Layer when WMWindowType changes

Kai Uwe Broulik <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.