D22195: Split Compositor class in Wayland and X11 child classes

Roman Gilg noreply at phabricator.kde.org
Mon Jul 8 09:56:01 BST 2019


romangg added inline comments.

INLINE COMMENTS

> zzag wrote in composite.cpp:84
> Is there a reason for not initializing s_compositor in constructor of Compositor class?

Not in particular. Setting the static variable in the static method seems more readable to me. Also since we assert here. And its the same like the kwinglobals factory methods do it.

REPOSITORY
  R108 KWin

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

To: romangg, #kwin
Cc: anthonyfieroni, zzag, 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190708/f0679f27/attachment.html>


More information about the kwin mailing list