~vanvugt/mir/simpler-plasma

« back to all changes in this revision

Viewing changes to src/common/input/mir_keyboard_config.cpp

  • Committer: Tarmac
  • Author(s): Andreas Pokorny
  • Date: 2017-02-22 17:44:20 UTC
  • mfrom: (4017.6.6 add-keyboard-config)
  • Revision ID: tarmac-20170222174420-9h2n2llwji6lgje4
mirclient: Enable Keyboard keymap configuration in mirclient

This allows client to select per keyboard keymap and have it applied to the session or as part of the base configuration. This does not affect a per window keymap the user of the shell might have selected. 
.

Approved by mir-ci-bot, Cemil Azizoglu, Kevin DuBois.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    return impl->device_keymap;
64
64
}
65
65
 
 
66
mi::Keymap& MirKeyboardConfig::device_keymap()
 
67
{
 
68
    return impl->device_keymap;
 
69
}
 
70
 
66
71
void MirKeyboardConfig::device_keymap(mi::Keymap const& keymap)
67
72
{
68
73
    impl->device_keymap = keymap;