[compiz] [PATCH] Bug in decoration matching

David Reveman davidr at novell.com
Wed Mar 14 10:37:06 PDT 2007


On Wed, 2007-03-14 at 16:14 +0100, Cedric wrote:
> Here a patch to fix a bug in decoration matching (no way to match
> type=dock)
> 
> This patch enable removing shadow from dock with something like this:
> !type=dock | any
> 
> http://hibbert.univ-lille3.fr/~cbellegarde/Compiz/dock_shadow.patch

Hey Cedric,

I meant to get back to you on the decoration matching situation. I found
some issues with the decoration plugin as I was integrating your patch.
There's still some issues but it should be better now. The decoration
matching option I added only allow you to disable decorations for
currently decorated windows, in the same way an application can request
that a specific window shouldn't be decorated. There's no way to disable
shadows for windows that are currently not decorated through this
option. I thought that it would be best to provide this functionality
through an additional matching option. I just added and pushed out such
an option.

E.g. disable shadows on dock windows by setting this new shadow_match
option to: "!type=dock"

- David



More information about the compiz mailing list