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

Function clearActiveRectTarget

packages/config/src/window-animation.ts:63–71  ·  view source on GitHub ↗
(
    window: WaylandWindow,
    windowRectState: WindowStateKey<ManagedWindowRect>,
    token: number,
)

Source from the content-addressed store, hash-verified

61}
62
63function clearActiveRectTarget(
64 window: WaylandWindow,
65 windowRectState: WindowStateKey<ManagedWindowRect>,
66 token: number,
67): void {
68 if (activeRectTarget(window, windowRectState)?.token === token) {
69 setActiveRectTarget(window, windowRectState, undefined);
70 }
71}
72
73export function playRectAnimation(
74 window: WaylandWindow,

Callers 1

playRectAnimationFunction · 0.85

Calls 2

activeRectTargetFunction · 0.85
setActiveRectTargetFunction · 0.85

Tested by

no test coverage detected