diff options
author | Richard Grenville <[email protected]> | 2014-02-27 22:08:30 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2014-02-27 22:08:30 +0800 |
commit | ecd5b3393f0e9af9a230f06294cb6131cebf69d6 (patch) | |
tree | 0a01ee3e1e97001d3eeb296f518ca416d938e76a | |
parent | 6078937c2c159c9e457cd8ebe0f964498b3a3476 (diff) | |
download | tdebase-ecd5b3393f0e9af9a230f06294cb6131cebf69d6.tar.gz tdebase-ecd5b3393f0e9af9a230f06294cb6131cebf69d6.zip |
Bug fix: Fix -S
Fix the broken -S.
-rw-r--r-- | compton.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |