aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libaxl.h6
-rw-r--r--libaxl/display-info.h4
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;
};