Thanks a lot guys ; ) Aaron J. Seigo wrote: >KWindowSystem::compositingActive()
Thanks Aaron, this works perfectly ;) Regards Percy On Mon, Sep 1, 2008 at 5:30 AM, Lucas Murray <[EMAIL PROTECTED]>wrote: > On Mon, Sep 1, 2008 at 6:11 PM, Teemu Rytilahti <[EMAIL PROTECTED]> wrote: > > Percy Camilo Triveño Aucahuasi kirjoitti viestissään (lähetysaika Monday, > 1. > > Septemberta 2008): > >> Hello there, I didn't know where send this post (kwin or plasma), but it > >> seems that the plasma list is more active. > > > > This is actually kwin related, so further discussion about this should be > done > > there. CC'ing there too. > > > >> My question is: Wich are the best way to know if the composition is > >> enabled? I mean, how my application knows if the desktop effects are > >> enabled? > > > > No idea what's the best way to do this, but toggle-compositing applet > does it > > by checking kwinrc, see trunk/playground/base/plasma/applets/toggle- > > compositing/toggle_compositing.cpp for details. > > > > > >> I was reading about KWin::Extensions::compositeAvailable, but it seems > that > >> this is a internal method ... > > > > Perhaps kwin people can propose better way to do this than reading the > config? > > It's possible to check whether compositing is enabled though the D-Bus > method org.kde.KWin.compositingActive() . > > $ qdbus org.kde.kwin /KWin compositingActive > true >
_______________________________________________ Plasma-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/plasma-devel
