Skip to content
Snippets Groups Projects

kiosk-shell: Enable/Install debug keybindings

Merged Marius Vlad requested to merge mvlad/weston:add-debug-keybinding-kiosk-shell into main
1 unresolved thread

We are missing debug keybinds in kiosk-shell so install them. Retrives the binding-modifier like in desktop-shell.

Signed-off-by: Marius Vlad marius.vlad@collabora.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1059
1060 if (shell->config)
1061 shell_section = weston_config_get_section(shell->config, "shell", NULL, NULL);
1062
1063 if (shell_section)
1064 weston_config_section_get_string(shell_section,
1065 "binding-modifier", &mod_string, "super");
1066
1067 if (!mod_string || !strcmp(mod_string, "none") || !strcmp(mod_string, "super"))
1068 mod = MODIFIER_SUPER;
1069 else if (!strcmp(mod_string, "alt"))
1070 mod = MODIFIER_ALT;
1071 else if (!strcmp(mod_string, "ctrl"))
1072 mod = MODIFIER_CTRL;
1073 else if (!strcmp(mod_string, "shift"))
1074 mod = MODIFIER_SHIFT;
  • Marius Vlad added 647 commits

    added 647 commits

    Compare with previous version

  • Marius Vlad added 2 commits

    added 2 commits

    • 7fa559c4 - kiosk-shell: Enable debug keybindings
    • 71b612c4 - desktops-shell: Re-use helper for modifier retrieval

    Compare with previous version

  • Marius Vlad added 2 commits

    added 2 commits

    • da28e2f6 - kiosk-shell: Enable debug keybindings
    • 553f1d28 - desktops-shell: Re-use helper for modifier retrieval

    Compare with previous version

  • Daniel Stone added 20 commits

    added 20 commits

    Compare with previous version

  • Daniel Stone enabled an automatic merge when the pipeline for 478b24ca succeeds

    enabled an automatic merge when the pipeline for 478b24ca succeeds

  • merged

  • Please register or sign in to reply
    Loading