diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2013-12-09 14:32:08 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2013-12-09 14:32:08 -0500 |
commit | d0070071914d2a7f9a3a9a0779adb7483440c00e (patch) | |
tree | 345f91182baed75412700abada26d633abe821a3 /src/redshift.h | |
parent | Remove Gnome Clock location provider (diff) | |
download | redshift-ng-d0070071914d2a7f9a3a9a0779adb7483440c00e.tar.gz redshift-ng-d0070071914d2a7f9a3a9a0779adb7483440c00e.tar.bz2 redshift-ng-d0070071914d2a7f9a3a9a0779adb7483440c00e.tar.xz |
Only start "dummy" gamma method if explicitly requested
Diffstat (limited to 'src/redshift.h')
-rw-r--r-- | src/redshift.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/redshift.h b/src/redshift.h index a7489ce..c284fc1 100644 --- a/src/redshift.h +++ b/src/redshift.h @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with Redshift. If not, see <http://www.gnu.org/licenses/>. - Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> + Copyright (c) 2013 Jon Lund Steffensen <jonlst@gmail.com> */ #ifndef _REDSHIFT_REDSHIFT_H @@ -39,6 +39,9 @@ typedef int gamma_method_set_temperature_func(void *state, int temp, typedef struct { char *name; + /* If true, this method will be tried if none is explicitly chosen. */ + int autostart; + /* Initialize state. Options can be set between init and start. */ gamma_method_init_func *init; /* Allocate storage and make connections that depend on options. */ |