From d0070071914d2a7f9a3a9a0779adb7483440c00e Mon Sep 17 00:00:00 2001
From: Jon Lund Steffensen <jonlst@gmail.com>
Date: Mon, 9 Dec 2013 14:32:08 -0500
Subject: Only start "dummy" gamma method if explicitly requested

---
 src/redshift.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'src/redshift.h')

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. */
-- 
cgit v1.2.3-70-g09d2