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

Method removeTileDragWindow

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

Source from the content-addressed store, hash-verified

3056 private monitorSnapBaseRect(monitor: string): ManagedWindowRect | null {
3057 const usable =
3058 COMPOSITOR.layer.usableArea(monitor) ?? this.monitorFullRect(monitor);
3059 if (!usable) {
3060 return null;
3061 }
3062 return insetRect(usable, MAXIMIZED_WINDOW_PADDING);
3063 }
3064
3065 /** Resolve the snap zone for a pointer near the physical screen edges. */
3066 private floatingSnapZoneAt(
3067 monitor: string,
3068 px: number,

Callers 1

onTileWindowMoveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected