[gnome-shell] ibusCandidatePopup: Use plain actor as dummy cursor
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] ibusCandidatePopup: Use plain actor as dummy cursor
- Date: Tue, 29 Jun 2021 22:31:05 +0000 (UTC)
commit f51fb4bed05faaf9ad38889ffd972ef374cd29f7
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jun 29 21:17:27 2021 +0200
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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1903>
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 6c497b2e93..5a9fe77928 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]