| 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() { |