Adapt to fixed Meta functions namespace

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3546>
This commit is contained in:
Bilal Elmoussaoui
2024-12-11 12:45:04 +01:00
parent 961075d0e4
commit 4034e69d0d
15 changed files with 60 additions and 44 deletions

View File

@ -249,9 +249,9 @@ export class Overview extends Signals.EventEmitter {
}
if (this._shownState === OverviewShownState.HIDDEN)
Meta.disable_unredirect_for_display(global.display);
global.compositor.disable_unredirect();
else if (state === OverviewShownState.HIDDEN)
Meta.enable_unredirect_for_display(global.display);
global.compositor.enable_unredirect();
this._shownState = state;
this.emit(OVERVIEW_SHOWN_TRANSITIONS[state].signal);