mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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>
This commit is contained in:
parent
16d3718735
commit
f51fb4bed0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue