How know if desktop effects (composition) is enabled?
Teemu Rytilahti
tpr at d5k.net
Mon Sep 1 12:11:54 CEST 2008
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?
--
Best regards,
Teemu Rytilahti
More information about the Plasma-devel
mailing list