D10538: Micro-optimise screenpool event filter by caching xcb extension offset

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Feb 15 11:54:42 UTC 2018


broulik requested changes to this revision.
broulik added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> screenpool.cpp:44
> +
> +    const xcb_query_extension_reply_t* reply = xcb_get_extension_data(QX11Info::connection(), &xcb_randr_id);
> +    m_xrandrExtensionOffset = reply->first_event;

Needs x11 guard

REPOSITORY
  R120 Plasma Workspace

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

To: davidedmundson, #plasma, broulik
Cc: broulik, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180215/7dbf5f58/attachment-0001.html>


More information about the Plasma-devel mailing list