aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-26 22:38:03 +0200
committeremersion <contact@emersion.fr>2017-10-26 22:38:03 +0200
commitc0c4816b132649d1ffc5435720578286d83a19ef (patch)
treecfcc866add3adfffa022e3ad9caf7349fffedb8a /include
parent4e5d23daa9b4d70bf8b614d5375ee1ccdab6771f (diff)
Fix fallback when there are two config blocks for a keyboard
Diffstat (limited to 'include')
-rw-r--r--include/rootston/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index 792146fb..ecbdd88b 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -73,7 +73,7 @@ struct device_config *config_get_device(struct roots_config *config,
/**
* Get configuration for the keyboard. If the keyboard is not configured,
- * returns NULL.
+ * returns NULL. A NULL device returns the default config for keyboards.
*/
struct keyboard_config *config_get_keyboard(struct roots_config *config,
struct wlr_input_device *device);