Adapt to fixed Meta functions namespace
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3546>
This commit is contained in:
@ -688,7 +688,7 @@ export function pushModal(actor, params = {}) {
|
||||
let grab = global.stage.grab(actor);
|
||||
|
||||
if (modalCount === 0)
|
||||
Meta.disable_unredirect_for_display(global.display);
|
||||
global.compositor.disable_unredirect();
|
||||
|
||||
modalCount += 1;
|
||||
let actorDestroyId = actor.connect('destroy', () => {
|
||||
@ -782,7 +782,7 @@ export function popModal(grab) {
|
||||
return;
|
||||
|
||||
layoutManager.modalEnded();
|
||||
Meta.enable_unredirect_for_display(global.display);
|
||||
global.compositor.enable_unredirect();
|
||||
actionMode = Shell.ActionMode.NORMAL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user