[compiz] Final version of placement enhancement

David Reveman davidr at novell.com
Tue Feb 13 10:22:55 PST 2007


On Wed, 2007-02-07 at 19:28 +0100, Bellegarde Cedric wrote:
> Le mercredi 7 février 2007 17:44, Bellegarde Cedric a écrit :
> > When do i have to use this for aFunctionName() and when do i have to use
> > this for a_function_name() ?
> 
> After looking at others plugins, NEVER! :)
> 
> So, here is complete version of my placement patch, it include:
> - Some code cleanup, place plugin was using this_function_naming_method. I 
> assume it's wrong as i can't see another exemple in compiz code. David, if i 
> am wrong, i have a version of this patch without this code cleanup ;)
> - Six placement method: Cascade, Centered, Random, LeftCorner, Maximize and 
> Smart!

OK, great work.

> 
> Centered, Random, LeftCorner and Maximize are really simple.
> For smart placement, i adapt kwin code as requested by David.

What I would really want is a solution where we could share code with
kwin. A libwindowmanager that could contain things like this would be
good but we should make your changes to the place plugin available for
now.

- David



More information about the compiz mailing list