summaryrefslogtreecommitdiffstats
path: root/compton.c
diff options
context:
space:
mode:
authorRichard Grenville <[email protected]>2014-02-27 22:08:30 +0800
committerRichard Grenville <[email protected]>2014-02-27 22:08:30 +0800
commit9745bfe765a42d4183dbcf343e889e1cb7cf18a4 (patch)
tree0a01ee3e1e97001d3eeb296f518ca416d938e76a /compton.c
parent53cb5d3a46dfd13c1185f005674224b3c9ad0a3d (diff)
downloadtdebase-9745bfe765a42d4183dbcf343e889e1cb7cf18a4.tar.gz
tdebase-9745bfe765a42d4183dbcf343e889e1cb7cf18a4.zip
Bug fix: Fix -S
Fix the broken -S.
Diffstat (limited to 'compton.c')
-rw-r--r--compton.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/compton.c b/compton.c
index 3a14d82b7..9d058767c 100644
--- a/compton.c
+++ b/compton.c
@@ -5480,6 +5480,8 @@ get_cfg(session_t *ps, int argc, char *const *argv, bool first_pass) {
ps->o.config_file = mstrcpy(optarg);
else if ('d' == o)
ps->o.display = mstrcpy(optarg);
+ else if ('S' == o)
+ ps->o.synchronize = true;
else if ('?' == o || ':' == o)
usage(1);
}
@@ -5532,6 +5534,7 @@ get_cfg(session_t *ps, int argc, char *const *argv, bool first_pass) {
usage(0);
break;
case 'd':
+ case 'S':
break;
P_CASELONG('D', fade_delta);
case 'I':
@@ -5556,7 +5559,6 @@ get_cfg(session_t *ps, int argc, char *const *argv, bool first_pass) {
case 'F':
fading_enable = true;
break;
- P_CASEBOOL('S', synchronize);
P_CASELONG('r', shadow_radius);
case 'o':
ps->o.shadow_opacity = atof(optarg);