aboutsummaryrefslogtreecommitdiffstats
path: root/src/servers/gamma.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-18 14:21:00 +0200
committerMattias Andrée <maandree@kth.se>2016-07-18 14:21:00 +0200
commit9c936e1d434becca2396d7c4e4ee2f0655fbb973 (patch)
tree95d16e773f0025b1b83b93ffbe70843d90a0a116 /src/servers/gamma.h
parentm + do state merge in servers/crtc.c (diff)
downloadcoopgammad-9c936e1d434becca2396d7c4e4ee2f0655fbb973.tar.gz
coopgammad-9c936e1d434becca2396d7c4e4ee2f0655fbb973.tar.bz2
coopgammad-9c936e1d434becca2396d7c4e4ee2f0655fbb973.tar.xz
Move disconnect and reconnect to servers/crtc.c, but keep gamma reapplication in servers/gamma.c
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/servers/gamma.h')
-rw-r--r--src/servers/gamma.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/servers/gamma.h b/src/servers/gamma.h
index ee9af84..ac269e0 100644
--- a/src/servers/gamma.h
+++ b/src/servers/gamma.h
@@ -76,18 +76,9 @@ void restore_gamma(void);
/**
- * Disconnect from the site
- *
- * @return Zero on success, -1 on error
- */
-int disconnect(void);
-
-/**
- * Reconnect to the site
- *
- * @return Zero on success, -1 on error
+ * Reapplu all gamma ramps
*/
-int reconnect(void);
+void reapply_gamma(void);
#endif