[gnome-shell/gnome-42] ibusCandidatePopup: Init it as a top chrome
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-42] ibusCandidatePopup: Init it as a top chrome
- Date: Mon, 4 Jul 2022 17:15:11 +0000 (UTC)
commit 321460f70afe02a9ffe756a162e3a16318ba51c0
Author: Alynx Zhou <alynx zhou gmail com>
Date: Mon Jul 4 11:57:36 2022 +0800
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>
(cherry picked from commit 07d9408420ee4e9633037ba6d49e7b7a4fd9c5a6)
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 fc7a0871c8..330830b2ea 100644
--- a/js/ui/ibusCandidatePopup.js
+++ b/js/ui/ibusCandidatePopup.js
@@ -155,7 +155,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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]