diff options
| author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-12-12 20:39:37 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-12 20:39:37 -0800 |
| commit | 91e1d30a6f8f37e8a20575ac5e04dd0228080783 (patch) | |
| tree | 7da96d50a6412ff47e560c19e99ae8990583d487 | |
| parent | Merge pull request #542 from jonls/options-refactor (diff) | |
| parent | Fix #335: Set period to none when disabled (diff) | |
| download | redshift-ng-91e1d30a6f8f37e8a20575ac5e04dd0228080783.tar.gz redshift-ng-91e1d30a6f8f37e8a20575ac5e04dd0228080783.tar.bz2 redshift-ng-91e1d30a6f8f37e8a20575ac5e04dd0228080783.tar.xz | |
Merge pull request #550 from mwstobo/enable-disable-hooks
Fix #335: Set period to none when disabled
| -rw-r--r-- | src/redshift.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/redshift.c b/src/redshift.c index f4c2d65..e0221d5 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -723,6 +723,7 @@ run_continual_mode(const location_provider_t *provider, scheme, transition_prog, &target_interp); if (disabled) { + period = PERIOD_NONE; color_setting_reset(&target_interp); } |
