~mir-team/mir/development-branch

Viewing all changes in revision 4121.

  • Committer: Tarmac
  • Author(s): Andreas Pokorny
  • Date: 2017-03-28 12:21:33 UTC
  • mfrom: (4077.4.8 fix-1536279)
  • Revision ID: tarmac-20170328122133-y1ob12fkpt3lhxpa
Clear keystate and keymap on device removal (LP: #1536279)

  A client window may have a "default" keymap configured. So a keystate will be tracked for each keyboard device individually. Switching away from the vt of the mirserver will trigger a removal of all devices, switching back to the server will make those devices reappear.

 If the keystate is not cleared on removal any pressed key will be stuck during a vt switch. Fixes: https://bugs.launchpad.net/bugs/1536279.

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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: