From 96a9a0f6a46459e6afe27d4a574f73677e29026f Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Sat, 22 Oct 2016 12:28:42 +0200 Subject: [PATCH] Move a comment to the appropriate function The comment was effects of changing the resolution but was added to the getter instead of setter function. --- src/libratbag.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libratbag.h b/src/libratbag.h index b4ea716a..0bdc4dc3 100644 --- a/src/libratbag.h +++ b/src/libratbag.h @@ -904,6 +904,11 @@ ratbag_resolution_get_dpi_y(struct ratbag_resolution *resolution); * If the resolution mode is the currently active mode and the profile is * the currently active profile, the change takes effect immediately. * + * If the resolution does not have the @ref + * RATBAG_RESOLUTION_CAP_INDIVIDUAL_REPORT_RATE capability, changing the + * report rate on one resolution changes the report rate for all resolutions + * in this profile. + * * @param resolution A previously initialized ratbag resolution * @param hz Set to the report rate in Hz, may be 0 * @@ -920,11 +925,6 @@ ratbag_resolution_set_report_rate(struct ratbag_resolution *resolution, * * A value of 0 hz indicates the mode is disabled. * - * If the resolution does not have the @ref - * RATBAG_RESOLUTION_CAP_INDIVIDUAL_REPORT_RATE capability, changing the - * report rate on one resolution changes the report rate for all resolutions - * in this profile. - * * @param resolution A previously initialized ratbag resolution * * @return The report rate for this resolution in Hz