From ba70c37a98850312973b737689d0394a03b34e7d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 May 2020 21:43:05 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libaxl.h | 6 ++++++ libaxl/display-info.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libaxl.h b/libaxl.h index b9b2c5b..d9b3d26 100644 --- a/libaxl.h +++ b/libaxl.h @@ -112,6 +112,9 @@ const struct libaxl_display_info *libaxl_info(LIBAXL_CONNECTION *, int); /* TODO * ... do something with `depth` or `break` if `i` is of a desired value (index) ... * } * + * Note, the function does not check if another + * element exists + * * @param depth The element before the element to return * @return The element after `depth` */ @@ -134,6 +137,9 @@ libaxl_next_depth(const struct libaxl_depth *depth) /* TODO man */ * ... do something with `screen` or `break` if `i` is of a desired value (index) ... * } * + * Note, the function does not check if another + * element exists + * * @param screen The element before the element to return * @return The element after `screen` */ diff --git a/libaxl/display-info.h b/libaxl/display-info.h index 714e833..66a39d5 100644 --- a/libaxl/display-info.h +++ b/libaxl/display-info.h @@ -301,10 +301,10 @@ struct libaxl_display_info { /** * List of all screens in the display */ - const struct libaxl_format *screens; + const struct libaxl_screen *screens; /** * The default screen */ - const struct libaxl_format *default_screen; + const struct libaxl_screen *default_screen; }; -- cgit v1.2.3-70-g09d2