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

Function resolveEvents

tools/decoration-runtime.ts:3328–3341  ·  view source on GitHub ↗
(
  loaded: Record<string, unknown>,
)

Source from the content-addressed store, hash-verified

3326 snapshot: WaylandWindowSnapshot,
3327 composition: WindowCompositionFunction,
3328 context: WindowCompositionContext = RENDER_COMPOSITION_CONTEXT,
3329): RuntimeCacheEntry {
3330 let latestSnapshot = snapshot;
3331 const actions: WaylandWindowActions = {
3332 close() {
3333 entry.pendingActions.push({
3334 windowId: latestSnapshot.id,
3335 action: "close",
3336 });
3337 },
3338 maximize() {
3339 entry.pendingActions.push({
3340 windowId: latestSnapshot.id,
3341 action: "maximize",
3342 });
3343 },
3344 unmaximize() {

Callers 1

loadRuntimeConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected