~compiz-team/compiz-libcompizconfig/compiz-libcompizconfig.fix_873772

Viewing all changes in revision 426.

  • Committer: Sam Spilsbury
  • Date: 2011-10-26 10:28:30 UTC
  • mfrom: (424.1.2 compiz-libcompizconfig)
  • Revision ID: sam.spilsbury@canonical.com-20111026102830-rgfeg2dscb2anju4
Merge trunk, fix leaks and provide a way for distributions to lock down settings keys

Provide a file in DATADIR/compizconfig/lockdown/profile.lockdown , this file
will be used to read from in the even that any key value that the user has set
is read from (eg, not default). Provide an ini file of the same format as the
standard ini backend with the key values which will be enforced for that profile.

active_plugins is an exception, any items in active_plugins will be forced to be in
the list, but the user is allowed to enable other plugins as well. The list will
be automatically sorted.

Eg:

[core]
s0_active_plugins = core;composite;opengl;move;resize;decor;

[move]
s0_lazy_positioning = True

Will ensure that core, composite, opengl, move, resize, decor will always be
on, even if the user tries to turn them off for that profile. It will also
ensure that lazy positioning will always be on, even if the user tries to
turn it off.

Fixes LP#881904

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: