[compiz] [PATCH] decoration plugin window matching

David Reveman davidr at novell.com
Fri Mar 9 08:23:37 PST 2007


On Fri, 2007-03-09 at 22:24 +0100, Bellegarde Cedric wrote:
> Le vendredi 9 mars 2007, vous avez écrit :
> > Any reason you made that a screen specific option? I'd prefer it as a
> > display specific option as we already got some of those in the
> > decoration plugin.
> 
> It's really a good question i will be happy to have an answer :)
> 
> When an option should go in display and when should it go in screen ?
> 
> In fact, i put it in screen because other matching options are in screen for 
> others plugins.

Multiple screens are rarely used and even if you use that you want most
options to be common for all screens, except obvious ones like
sync_to_vblank, refresh_rate...

The action interface doesn't support screen options yet so all actions
options must currently be display options. Screen options are used a lot
because it's more convenient as you usually need to access them in some
wrapped screen function but that's probably a bad habit.

Display options are preferred and I've even been thinking about removing
screen options all together and just use lists of display options for
those things that really need to be per screen but I'm not sure that
this a good idea.

Anyhow, use display options as much as possible. Especially, in this
case where all existing options are display options.

- David



More information about the compiz mailing list