[compiz] [PATCH] add 'sticky' mode to cube to allow sticky+not-on-bottom windows to stick to the screen when the screen is transformed

David Reveman davidr at novell.com
Thu May 31 11:22:49 PDT 2007


On Sun, 2007-05-27 at 19:41 -0400, Quinn Storm wrote:
> I've attached the patch since I don't yet have an easy way to make git 
> format-patch and kmail play nice together.  The basic idea is during a 
> rotate/other cube transform, 'sticky' windows stick to the screen instead of 
> being redrawn once per face (its an option, the default is the old behaviour)
> 
> Consider this, please, essentially an RFC - this particular behaviour was 
> available previously in Beryl, and was (at least according to 
> screenshots/casts) widely used.

Yea, this behavior makes a lot of sense for sticky windows. The problem
is that during cube motion these windows suddenly becomes on top of
windows that they are normally stacked below and that looks pretty bad
unless it's animated.

I think it will look better if the cube is moved back a bit during
motion like when windows are being elevated and maybe it makes more
sense to make this functionality part of the 3D plugin, which btw should
hook into the cube plugin the same way rotate plugin now does.

-David



More information about the compiz mailing list