Close a window
window_closeCloses a specified window by asking the compositor to act as if its close button was clicked; provide the window ID to dismiss it programmatically.
Instructions
Asks the compositor to close a window (as if clicking its close button).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Display id from display_open. Optional when exactly one display is open. | |
| window_id | Yes |