aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-24 03:29:12 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-24 03:29:12 +0200
commit7363460fd1767940142ad2fead20cce4e0a6a28d (patch)
tree729d26c18013435ab25d4f9cdfd8c1760d0d0b6a
parentgamma-x-randr: crtc info: jump if the output information is not required (diff)
downloadlibgamma-7363460fd1767940142ad2fead20cce4e0a6a28d.tar.gz
libgamma-7363460fd1767940142ad2fead20cce4e0a6a28d.tar.bz2
libgamma-7363460fd1767940142ad2fead20cce4e0a6a28d.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/gamma-x-randr.c2
-rw-r--r--src/libgamma-method.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gamma-x-randr.c b/src/gamma-x-randr.c
index 0d831c9..a0e269f 100644
--- a/src/gamma-x-randr.c
+++ b/src/gamma-x-randr.c
@@ -491,7 +491,7 @@ int libgamma_x_randr_get_crtc_information(libgamma_crtc_information_t* restrict
/* Jump if the output information is not required. */
if ((fields & (CRTC_INFO_ACTIVE | CRTC_INFO_CONNECTOR_NAME)) == 0)
goto cont;
-
+
/* FIXME output */
e |= this->connector_name_error = -1; /* FIXME */
diff --git a/src/libgamma-method.h b/src/libgamma-method.h
index 0b60b4b..6d2cb33 100644
--- a/src/libgamma-method.h
+++ b/src/libgamma-method.h
@@ -320,7 +320,7 @@ typedef struct libgamma_crtc_state
*/
typedef enum libgamma_connector_type
{
- /*
+ /**
* The adjustment method does not know the connector's type
* (This could be considered an error)
*/
@@ -343,6 +343,7 @@ typedef enum libgamma_connector_type
LIBGAMMA_CONNECTOR_TYPE_VIRTUAL,
LIBGAMMA_CONNECTOR_TYPE_DSI,
LIBGAMMA_CONNECTOR_TYPE_LFP
+
} libgamma_connector_type_t;
/**