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

Method syncWindowVisibleOutputs

packages/config/src/window-manager.ts:3964–3969  ·  view source on GitHub ↗
(window: WaylandWindow)

Source from the content-addressed store, hash-verified

3962 }
3963
3964 const viewportRect = this.tileViewportRect();
3965 this.lastAppliedTileViewportRect = snapshotManagedRect(viewportRect);
3966 const tileHeight = read(viewportRect.height);
3967 let nextX = read(viewportRect.x) - this.physicalAlignedScrollOffset();
3968 const appliedRects: Record<string, ManagedWindowRect> = {};
3969 this.lastDraggingSlotRect = null;
3970
3971 tileable.forEach((window, index) => {
3972 const tileWidth = this.tileWidthForWindow(window, viewportRect);

Callers 11

moveToMonitorMethod · 0.95
addWindowMethod · 0.95
setVisibleMethod · 0.95
setTiledMethod · 0.95
beginTileDragMethod · 0.95
adoptTileDragWindowMethod · 0.95
adoptFloatingWindowMethod · 0.95
endTileDragMethod · 0.95

Calls 2

shouldTileMethod · 0.95
setMethod · 0.65

Tested by

no test coverage detected