D7481: Batch window changes events on XCB

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Mar 29 08:30:05 UTC 2018


broulik added inline comments.

INLINE COMMENTS

> xwindowsystemeventbatcher.cpp:69
> +{
> +    Q_UNUSED(event);
> +    for (auto it = m_cache.constBegin(); it!= m_cache.constEnd(); it++) {

Please check `event->timerId()` against `m_timerId`, plasmashell keeps hogging 100% CPU when I have certain windows focused (e.g. ksysguard) as this method is entered a ton of times with timer ids other than our own.

REPOSITORY
  R120 Plasma Workspace

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

To: davidedmundson, #plasma, hein, broulik
Cc: ngraham, cfeck, broulik, hein, graesslin, plasma-devel, ragreen, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180329/176dac1f/attachment.html>


More information about the Plasma-devel mailing list