~mir-team/mir/wayland-fix-keymaps-re-attempt

Viewing all changes in revision 4280.

  • Committer: Alan Griffiths
  • Author(s): Christopher James Halse Rogers
  • Date: 2017-10-08 00:16:21 UTC
  • mfrom: (4279.1.2 mir0)
  • Revision ID: alan@octopull.co.uk-20171008001621-86saisokh8s7ixnl
WlKeyboard: Reconstruct xkbcommon state in the frontend.

This is a hack which should be replaced by exposing the information we need in the MirKeyEvent and in mf::Surface and…

This works for now by reconstructing xkbcommon state to serialise to the Wayland client. Wayland clients will *not* have the correct keymap, however, because we don't receive the MirKeymapEvent at an appropriate time.

Fixes: https://bugs.launchpad.net/mir/+bug/1718968

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: