MCPcopy
hub / github.com/domferr/tilingshell / _createTilingManagers

Method _createTilingManagers

src/extension.ts:193–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 }
192
193 private _createTilingManagers() {
194 debug('building a tiling manager for each monitor');
195 this._tilingManagers.forEach((tm) => tm.destroy());
196 this._tilingManagers = getMonitors().map(
197 (monitor) =>
198 new TilingManager(monitor, !this._fractionalScalingEnabled),
199 );
200 this._tilingManagers.forEach((tm) => tm.enable());
201 }
202
203 private _setupSignals() {
204 if (!this._signals) return;

Callers 2

enableMethod · 0.95
_setupSignalsMethod · 0.95

Calls 3

getMonitorsFunction · 0.90
destroyMethod · 0.65
enableMethod · 0.45

Tested by

no test coverage detected