aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/libgamma-method.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-03 11:46:23 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-03 11:46:23 +0200
commitcb9209bddad19452e96fd0b9168016867edf72db (patch)
tree09657c4cb15420497f883574d6c372bee64ed071 /src/lib/libgamma-method.h
parentbump year (diff)
downloadlibgamma-cb9209bddad19452e96fd0b9168016867edf72db.tar.gz
libgamma-cb9209bddad19452e96fd0b9168016867edf72db.tar.bz2
libgamma-cb9209bddad19452e96fd0b9168016867edf72db.tar.xz
beginning of wayland support
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/libgamma-method.h')
-rw-r--r--src/lib/libgamma-method.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libgamma-method.h b/src/lib/libgamma-method.h
index 1ebea84..58598a4 100644
--- a/src/lib/libgamma-method.h
+++ b/src/lib/libgamma-method.h
@@ -85,13 +85,20 @@
*/
#define LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS 5
+/**
+ * The identifier for the adjustment method with
+ * uses the Orbital Wayland compositor's protocol
+ * for gamma ramp control.
+ */
+#define LIBGAMMA_METHOD_WAYLAND 6
+
/**
* The index of the last gamma method, neither it
* nor any index before it may actually be supported
* as it could have been disabled at compile-time.
*/
-#define LIBGAMMA_METHOD_MAX 5
+#define LIBGAMMA_METHOD_MAX 6
/**
* The number adjustment methods provided by this library.