[compiz] Example plugins

Mike Dransfield mike at blueroot.co.uk
Thu Apr 5 11:55:55 PDT 2007


David Reveman wrote:
> On Thu, 2007-04-05 at 19:24 +0100, Mike Dransfield wrote:
>   
>> Here are some example plugins for anyone who is interested in developing.
>>
>> They are
>>
>> helloworld - uses an action to write hello world to the terminal
>> blackandwhite - just makes all windows black and white
>> triangle - paints a triangle to the screen
>>     
>
> I don't think we want to encourage the behavior of the blackandwhite
> plugin. Plugins should never modify the w->paint struct directly. This
> plugin should be updated and hook into paintWindow and modify the
> saturation attribute that way.
>
>   

Ill update that, funny, I always used to do it that way.



More information about the compiz mailing list