mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Merge branch 'fix-keyboard-shift' into 'main'
keyboard: Set level back to default after commit even when there are hints Closes #7714 See merge request GNOME/gnome-shell!3286
This commit is contained in:
commit
27c34b983f
1 changed files with 6 additions and 2 deletions
|
|
@ -1505,10 +1505,14 @@ export const Keyboard = GObject.registerClass({
|
|||
this._disableAllModifiers();
|
||||
if (layout.mode === 'default' ||
|
||||
(layout.mode === 'latched' && !this._latched)) {
|
||||
if (this._contentHint !== 0)
|
||||
if (this._contentHint !== 0) {
|
||||
if (layout.mode === 'latched' && !this._latched)
|
||||
this._setActiveLevel('default');
|
||||
|
||||
this._updateLevelFromHints();
|
||||
else
|
||||
} else {
|
||||
this._setActiveLevel('default');
|
||||
}
|
||||
}
|
||||
}).catch(console.error);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue