D22757: Guard against missing xrandr extension

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Jul 26 09:26:31 BST 2019


broulik added inline comments.

INLINE COMMENTS

> screenpool.cpp:46
>      if (KWindowSystem::isPlatformX11()) {
>          qApp->installNativeEventFilter(this);
>          const xcb_query_extension_reply_t* reply = xcb_get_extension_data(QX11Info::connection(), &xcb_randr_id);

How about not installing the event filter in this case in the first place?

REPOSITORY
  R120 Plasma Workspace

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

To: davidedmundson, #plasma
Cc: broulik, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190726/1b12a3ab/attachment-0001.html>


More information about the Plasma-devel mailing list