D26978: [kstyle] Use QX11Info::isCompositingManagerRunning()

Vlad Zahorodnii noreply at phabricator.kde.org
Wed Jan 29 01:51:13 GMT 2020


zzag created this revision.
zzag added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
zzag requested review of this revision.

REVISION SUMMARY
  Every time Breeze needs to check whether given widget has an alpha
  channel, it makes a synchronous X call to figure out whether a
  compositing window manager is running on a particular screen. This
  is inefficient!
  
  Luckily for us, Qt XCB QPA monitors compositing manager selections
  and caches the ownership status of each one. That cached ownership
  data can be accessed via QX11Info::isCompositingManagerRunning().

REPOSITORY
  R31 Breeze

BRANCH
  use-qx11info-is-compositing-manager-active

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

AFFECTED FILES
  kstyle/breezehelper.cpp
  kstyle/breezehelper.h
  kstyle/breezewindowmanager.cpp

To: zzag, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200129/fcb5e6eb/attachment.html>


More information about the Plasma-devel mailing list