layout: Don't use get_feedback_group_for_display()
The global method was deprecated in favor of a corresponding method on Meta.Compositor, use that instead. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3176>
This commit is contained in:
parent
40376d90fd
commit
02c85fbb64
@ -234,7 +234,7 @@ export const LayoutManager = GObject.registerClass({
|
||||
const adoptedUiGroupActors = [
|
||||
global.window_group,
|
||||
global.top_window_group,
|
||||
Meta.get_feedback_group_for_display(global.display),
|
||||
global.compositor.get_feedback_group(),
|
||||
];
|
||||
|
||||
for (let adoptedActor of adoptedUiGroupActors) {
|
||||
@ -313,7 +313,7 @@ export const LayoutManager = GObject.registerClass({
|
||||
this.dummyCursor = new St.Widget({width: 0, height: 0, opacity: 0});
|
||||
this.uiGroup.add_child(this.dummyCursor);
|
||||
|
||||
let feedbackGroup = Meta.get_feedback_group_for_display(global.display);
|
||||
const feedbackGroup = global.compositor.get_feedback_group();
|
||||
global.stage.remove_child(feedbackGroup);
|
||||
this.uiGroup.add_child(feedbackGroup);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user