mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
keyboard: Fix fallback layout when using variants
Commitc1ec7b2ffmeant to fall back to the base layout in case a variant like `fr+oss` is set up, but as we are checking for '+' on the array rather than the layout name, the fallback only "works" for a layout that is literally called '+', whoops. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2471 (cherry picked from commitd29e5765ba)
This commit is contained in:
parent
0a50b6ea01
commit
3d7ee7856f
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ Signals.addSignalMethods(Key.prototype);
|
|||
var KeyboardModel = class {
|
||||
constructor(groupName) {
|
||||
let names = [groupName];
|
||||
if (names.includes('+'))
|
||||
if (groupName.includes('+'))
|
||||
names.push(groupName.replace(/\+.*/, ''));
|
||||
names.push('us');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue