MCPcopy Create free account
hub / github.com/GNOME/gnome-shell / unblockWorkspaceUpdates

Method unblockWorkspaceUpdates

js/ui/windowManager.js:1080–1095  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1078 }
1079
1080 unblockWorkspaceUpdates() {
1081 console.assert(this._blockCount > 0,
1082 'Unmatched call to unblockWorkspaceUpdates()');
1083 if (this._blockCount === 0)
1084 return;
1085
1086 this._blockCount -= 1;
1087
1088 if (this._blockCount !== 0)
1089 return;
1090
1091 if (!this._workspaceTracker)
1092 return;
1093
1094 this._workspaceTracker.unblockUpdates();
1095 }
1096
1097 skipNextEffect(actor) {
1098 this._skippedActors.add(actor);

Callers 2

Calls 2

assertMethod · 0.80
unblockUpdatesMethod · 0.80

Tested by

no test coverage detected