Skip to content
Snippets Groups Projects
Commit 2ff009a4 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

Add a comment to clarify what the prop parameter is


prop isn't the full property line, just the value.
And document the return value too while we're at it.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent d28da2ca
No related branches found
No related tags found
No related merge requests found
......@@ -131,6 +131,9 @@ ratelimit_test(struct ratelimit *r)
* use a reasonable default instead. If the property contains multiple DPI
* settings but none flagged as default, we return the last because we're
* lazy and that's a silly way to set the property anyway.
*
* @param prop The value of the udev property (without the MOUSE_DPI=)
* @return The default dpi value on success, 0 on error
*/
int
parse_mouse_dpi_property(const char *prop)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment