MCPcopy Create free account
hub / github.com/bea4dev/ShojiWM / defaultTileWidth

Method defaultTileWidth

packages/config/src/window-manager.ts:4299–4304  ·  view source on GitHub ↗
(viewportRect: ManagedWindowRect)

Source from the content-addressed store, hash-verified

4297
4298 if (read(window.isFocused)) {
4299 return undefined;
4300 }
4301
4302 if (this.shouldTile(window)) {
4303 const previousActiveWindowId = this.activeWindowId;
4304 this.activeWindowId = window.id;
4305 if (previousActiveWindowId !== window.id) {
4306 this.reapplyStaticManagedLayout();
4307 }

Callers 1

tileWidthForWindowMethod · 0.95

Calls 1

readFunction · 0.90

Tested by

no test coverage detected