summaryrefslogtreecommitdiff
path: root/desktop-shell
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-11-22 13:48:13 +0200
committerDaniel Stone <daniels@collabora.com>2023-01-09 22:13:07 +0000
commit6293ab1f90fdaf59d7f7ff394343ca1f3101338c (patch)
tree1829bacc928118b6bd90b9832f61715c0f0781bc /desktop-shell
parent58c3e263a05880e7cbc97a70a63ab3cfe563a8d5 (diff)
downloadweston-6293ab1f90fdaf59d7f7ff394343ca1f3101338c.tar.gz
libweston, shared: Move out weston_shell_get_binding_modifier
This doesn't really belong into shell-utils, so better move it out to shared/config-parser. Renamed to weston_config_get_binding_modifier to maintain the same namespace. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'desktop-shell')
-rw-r--r--desktop-shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index ab32f08b..9224cab8 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -476,7 +476,7 @@ shell_configuration(struct desktop_shell *shell)
"allow-zap", &allow_zap, true);
shell->allow_zap = allow_zap;
- shell->binding_modifier = weston_shell_get_binding_modifier(config, MODIFIER_SUPER);
+ shell->binding_modifier = weston_config_get_binding_modifier(config, MODIFIER_SUPER);
weston_config_section_get_string(section, "animation", &s, "none");
shell->win_animation_type = get_animation_type(s);