diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-23 19:26:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-23 19:26:30 +0200 |
commit | 6a31e3facc18f4f1eef5141b2aa37748d8b44530 (patch) | |
tree | ca5324344de580056ab38ec9fcd2e51fc6a729ca /src/libgamma-error.h | |
parent | gamma-x-randr: some simple crtc info + ramps sizes (diff) | |
download | libgamma-6a31e3facc18f4f1eef5141b2aa37748d8b44530.tar.gz libgamma-6a31e3facc18f4f1eef5141b2aa37748d8b44530.tar.bz2 libgamma-6a31e3facc18f4f1eef5141b2aa37748d8b44530.tar.xz |
gamma-linux-drm: do not attemp to read monitor info if there is no monitor
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/libgamma-error.h | 7 |
1 files changed, 6 insertions, 1 deletions
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) |