D23098: [x11] Fix crash during tear down

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> anthonyfieroni wrote in composite.cpp:1052
> qobject_cast is slower in some cases can you do it
> 
>   static QPointer<X11Compositor> x11;
>   if (!x11) {
>       x11 = qobject_cast<X11Compositor *>(Compositor::self());
>   }
>   return x11;

> qobject_cast is slower in some cases

When?

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D23098

To: zzag, #kwin
Cc: anthonyfieroni, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, 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.