D16582: [effects] Don't emit windowActivated for windows that are not ready for painting
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin added a comment. I think you are also working around the problem here. First of all there is no guarantee that a window gets activated at all (e.g. focus stealing prevention of window rules). So basing any logic on window activated looks wrong to me. Also the described problem could happen for Unmanaged windows which will never be activated. Furthermore if the activation before ready for painting is a problem then we should change KWin core to only activate windows which are ready for painting. That should be guaranteed on Wayland and on X11 we also have the sync protocol to figure out whether a window is ready for painting. A window which hasn't painted should not be the active one IMHO. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D16582 To: zzag, #kwin Cc: graesslin, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart