From 6a31e3facc18f4f1eef5141b2aa37748d8b44530 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 23 May 2014 19:26:30 +0200 Subject: gamma-linux-drm: do not attemp to read monitor info if there is no monitor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libgamma-error.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/libgamma-error.h') diff --git a/src/libgamma-error.h b/src/libgamma-error.h index 87eb4ac..15a913c 100644 --- a/src/libgamma-error.h +++ b/src/libgamma-error.h @@ -247,6 +247,11 @@ extern const char* libgamma_group_name; */ #define LIBGAMMA_NULL_PARTITION (-40) +/** + * There is not monitor connected to the connector of the selected CRTC + */ +#define LIBGAMMA_NOT_CONNECTED (-41) + /** @@ -254,7 +259,7 @@ extern const char* libgamma_group_name; * If this is lower than the number your program thinks it * should be sould update your program for new errors. */ -#define LIBGAMMA_ERROR_MIN (-40) +#define LIBGAMMA_ERROR_MIN (-41) -- cgit v1.2.3-70-g09d2