mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 09:28:11 +02:00
shell: Move binding-modifier to shell section
This commit is contained in:
parent
0b52d4810d
commit
a4e8b33704
1 changed files with 7 additions and 3 deletions
10
src/shell.c
10
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 },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue