keyboard: Add extended keys and language popups to top window group
As per commit 2bd80579ed
important actors are added to the top window group
using the layout's addTopChrome method.
This group includes the on-screen keyboard, however its popups were not added
and so they are now shown under the OSK and don't receive any input.
Fix this by adding Language popup and extended keys popup to top chrome.
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1396
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/583
This commit is contained in:
parent
b4797956c7
commit
4e84b46c9b
@ -282,7 +282,7 @@ var Key = class Key {
|
|||||||
y_fill: true,
|
y_fill: true,
|
||||||
x_align: St.Align.START });
|
x_align: St.Align.START });
|
||||||
this._boxPointer.hide();
|
this._boxPointer.hide();
|
||||||
Main.layoutManager.addChrome(this._boxPointer);
|
Main.layoutManager.addTopChrome(this._boxPointer);
|
||||||
this._boxPointer.setPosition(this.keyButton, 0.5);
|
this._boxPointer.setPosition(this.keyButton, 0.5);
|
||||||
|
|
||||||
// Adds style to existing keyboard style to avoid repetition
|
// Adds style to existing keyboard style to avoid repetition
|
||||||
@ -1306,7 +1306,7 @@ var Keyboard = class Keyboard {
|
|||||||
this._languagePopup.destroy();
|
this._languagePopup.destroy();
|
||||||
|
|
||||||
this._languagePopup = new LanguageSelectionPopup(keyActor);
|
this._languagePopup = new LanguageSelectionPopup(keyActor);
|
||||||
Main.layoutManager.addChrome(this._languagePopup.actor);
|
Main.layoutManager.addTopChrome(this._languagePopup.actor);
|
||||||
this._languagePopup.open(true);
|
this._languagePopup.open(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user