diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2013-08-26 22:00:53 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2013-08-26 22:00:53 +0800 |
commit | 731ed301d424036e79234069b7e491484043c73c (patch) | |
tree | 95febd070f56bd6927951a4d28856719e3aa7334 | |
parent | cd62d55a5b62c97cff3e60ebc0b3a66b8c7fa891 (diff) | |
download | tdebase-731ed301d424036e79234069b7e491484043c73c.tar.gz tdebase-731ed301d424036e79234069b7e491484043c73c.zip |
Misc: Add missing configuration file options and switches
- Add "xinerama_shadow_crop" configuration option.
- Add long commandline switches corresponding to the short ones.
- Documentation update.
-rw-r--r-- | compton.c | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -5111,6 +5111,9 @@ parse_config(session_t *ps, struct options_tmp *pcfgtmp) { // --detect-rounded-corners lcfg_lookup_bool(&cfg, "detect-rounded-corners", &ps->o.detect_rounded_corners); + // --xinerama-shadow-crop + lcfg_lookup_bool(&cfg, "xinerama-shadow-crop", + &ps->o.xinerama_shadow_crop); // --detect-client-opacity lcfg_lookup_bool(&cfg, "detect-client-opacity", &ps->o.detect_client_opacity); @@ -5217,6 +5220,20 @@ get_cfg(session_t *ps, int argc, char *const *argv, bool first_pass) { const static struct option longopts[] = { { "help", no_argument, NULL, 'h' }, { "config", required_argument, NULL, 256 }, + { "shadow-radius", required_argument, NULL, 'r' }, + { "shadow-opacity", required_argument, NULL, 'o' }, + { "shadow-offset-x", required_argument, NULL, 'l' }, + { "shadow-offset-y", required_argument, NULL, 't' }, + { "fade-in-step", required_argument, NULL, 'I' }, + { "fade-out-step", required_argument, NULL, 'O' }, + { "menu-opacity", required_argument, NULL, 'm' }, + { "shadow", no_argument, NULL, 'c' }, + { "no-dock-shadow", no_argument, NULL, 'C' }, + { "clear-shadow", no_argument, NULL, 'z' }, + { "fading", no_argument, NULL, 'f' }, + { "inactive-opacity", required_argument, NULL, 'i' }, + { "frame-opacity", required_argument, NULL, 'e' }, + { "no-dnd-shadow", no_argument, NULL, 'G' }, { "shadow-red", required_argument, NULL, 257 }, { "shadow-green", required_argument, NULL, 258 }, { "shadow-blue", required_argument, NULL, 259 }, |