D23098: Don't crash when X11Compositor tears down
Vlad Zagorodniy <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag added a comment.
In D23098#510450 <https://phabricator.kde.org/D23098#510450>, @romangg wrote:
> Replacing `= 0` with `{}` in the header file is out of scope?
In D23098#510426 <https://phabricator.kde.org/D23098#510426>, @zzag wrote:
> Yes, it will work.
>
> I don't like this solution though because the code will be more difficult to reason about, e.g. calls to updateCompositeBlocked usually go to X11Compositor, but sometimes they may go somewhere else (Compositor).
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D23098
To: zzag, #kwin
Cc: romangg, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart