Layout ยท console.warn
layout: maximise("{id}") - no such window.
Printed by Layout, prefixed [lattice], since 1.54.0.
Warnings reference › layout.maximise.unknown
- Identifier
layout.maximise.unknown- Raised by
- Layout
- Since
- 1.54.0
What happened
layout.maximise(id) named a window the layout does not hold, so nothing was maximised and the call returned false. Whatever was on screen stayed as it was.
The fix
Take the id from layout.windows() or from the event payload that prompted the call, rather than from a value your own code composed.
Reference
Covered in full at the API reference.