ibusCandidatePopup: Init it as a top chrome
ibusCandidatePopup actually works as a top chrome because it always raises itself above top_window_group when updating visibility, so just initing it as a top chrome instead of initing it below top_window_group. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2331>
This commit is contained in:
parent
8d9665d39a
commit
07d9408420
@ -153,7 +153,7 @@ class IbusCandidatePopup extends BoxPointer.BoxPointer {
|
|||||||
this._dummyCursor = new Clutter.Actor({ opacity: 0 });
|
this._dummyCursor = new Clutter.Actor({ opacity: 0 });
|
||||||
Main.layoutManager.uiGroup.add_actor(this._dummyCursor);
|
Main.layoutManager.uiGroup.add_actor(this._dummyCursor);
|
||||||
|
|
||||||
Main.layoutManager.addChrome(this);
|
Main.layoutManager.addTopChrome(this);
|
||||||
|
|
||||||
const box = new St.BoxLayout({
|
const box = new St.BoxLayout({
|
||||||
style_class: 'candidate-popup-content',
|
style_class: 'candidate-popup-content',
|
||||||
|
Loading…
Reference in New Issue
Block a user