diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-18 14:21:00 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-18 14:21:00 +0200 |
commit | 9c936e1d434becca2396d7c4e4ee2f0655fbb973 (patch) | |
tree | 95d16e773f0025b1b83b93ffbe70843d90a0a116 /src/servers/crtc.h | |
parent | m + do state merge in servers/crtc.c (diff) | |
download | coopgammad-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 '')
-rw-r--r-- | src/servers/crtc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/servers/crtc.h b/src/servers/crtc.h index 1670ee2..3bf9eed 100644 --- a/src/servers/crtc.h +++ b/src/servers/crtc.h @@ -74,5 +74,20 @@ int initialise_crtcs(void); int merge_state(struct output* restrict old_outputs, size_t old_outputs_n); +/** + * 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 + */ +int reconnect(void); + + #endif |