From 07d9408420ee4e9633037ba6d49e7b7a4fd9c5a6 Mon Sep 17 00:00:00 2001 From: Alynx Zhou Date: Mon, 4 Jul 2022 11:57:36 +0800 Subject: [PATCH] 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: --- js/ui/ibusCandidatePopup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/ibusCandidatePopup.js b/js/ui/ibusCandidatePopup.js index 340f9a8e1..2a34144d5 100644 --- a/js/ui/ibusCandidatePopup.js +++ b/js/ui/ibusCandidatePopup.js @@ -153,7 +153,7 @@ class IbusCandidatePopup extends BoxPointer.BoxPointer { this._dummyCursor = new Clutter.Actor({ opacity: 0 }); Main.layoutManager.uiGroup.add_actor(this._dummyCursor); - Main.layoutManager.addChrome(this); + Main.layoutManager.addTopChrome(this); const box = new St.BoxLayout({ style_class: 'candidate-popup-content',