From f51fb4bed05faaf9ad38889ffd972ef374cd29f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 29 Jun 2021 21:17:27 +0200 Subject: [PATCH] ibusCandidatePopup: Use plain actor as dummy cursor Now that source actors no longer have to be widgets, we can use a plain actor for the dummy cursor and save a bit of overhead. 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 6c497b2e9..5a9fe7792 100644 --- a/js/ui/ibusCandidatePopup.js +++ b/js/ui/ibusCandidatePopup.js @@ -146,7 +146,7 @@ class IbusCandidatePopup extends BoxPointer.BoxPointer { this.visible = false; this.style_class = 'candidate-popup-boxpointer'; - this._dummyCursor = new St.Widget({ opacity: 0 }); + this._dummyCursor = new Clutter.Actor({ opacity: 0 }); Main.layoutManager.uiGroup.add_actor(this._dummyCursor); Main.layoutManager.addChrome(this);