From a4e8b3370497ba93f469fdf28171e06c0a6f9cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 20 Apr 2012 16:48:21 -0400 Subject: [PATCH] shell: Move binding-modifier to shell section --- src/shell.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/shell.c b/src/shell.c index 80781025e..42c980ce4 100644 --- a/src/shell.c +++ b/src/shell.c @@ -252,13 +252,17 @@ shell_configuration(struct desktop_shell *shell) int duration = 60; char *modifier = NULL; - struct config_key saver_keys[] = { - { "path", CONFIG_KEY_STRING, &path }, - { "duration", CONFIG_KEY_INTEGER, &duration }, + struct config_key shell_keys[] = { { "binding-modifier", CONFIG_KEY_STRING, &modifier }, }; + struct config_key saver_keys[] = { + { "path", CONFIG_KEY_STRING, &path }, + { "duration", CONFIG_KEY_INTEGER, &duration }, + }; + struct config_section cs[] = { + { "shell", shell_keys, ARRAY_LENGTH(shell_keys), NULL }, { "screensaver", saver_keys, ARRAY_LENGTH(saver_keys), NULL }, };