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

Method removeFloatingWindow

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

Source from the content-addressed store, hash-verified

3065 by + bh - SNAP_GAP_PX - groups.leftBottomHeight,
3066 );
3067 layout.rightSplitY = clamp(
3068 layout.rightSplitY,
3069 by + groups.rightTopHeight,
3070 by + bh - SNAP_GAP_PX - groups.rightBottomHeight,
3071 );
3072 }
3073
3074 private floatingSnapMinSizeGroups(windows: WaylandWindow[]): {
3075 leftWidth: number;
3076 rightWidth: number;
3077 leftTopHeight: number;
3078 leftBottomHeight: number;
3079 rightTopHeight: number;
3080 rightBottomHeight: number;

Callers 1

onFloatingWindowMoveMethod · 0.80

Calls 2

activeWindowMethod · 0.95
tileableWindowsMethod · 0.95

Tested by

no test coverage detected