Commit 14dac8d
committed
keyboardManager.js: Re-apply the keymap on resume, make sure
reapply() really does so.
- Connect to prepare-for-sleep from the login manager, re-apply the
keymap on resume.
- Clear the existing keymap in reapply() so that _applyLayoutGroup()
doesn't return early.
I was unable to reproduce reported issues after resume, but the
conditions for this can be hardware-dependent. Either way, the fix
is safe.
ref: #132131 parent 64540d2 commit 14dac8d
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| |||
511 | 516 | | |
512 | 517 | | |
513 | 518 | | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
514 | 527 | | |
515 | 528 | | |
516 | 529 | | |
| |||
0 commit comments