Skip to content

MacOS new windows should cascade #8469

Open
@sfsam

Description

@sfsam

New Alacritty windows should follow the standard macOS behavior of cascading new windows. This provides an obvious visual feedback to the user than a new window was created and also makes it much easier to manipulate the windows.

Image

From the NSWindowController shouldCascadeWindow docs:

Cascading in relation to other document windows means having a slightly offset location so that the title bars of previously displayed windows are still visible.

https://developer.apple.com/documentation/appkit/nswindowcontroller/shouldcascadewindows?language=objc

Besides NSWindowController, the NSWindow class also provides cascadeTopLeftFromPoint.

https://developer.apple.com/documentation/appkit/nswindow/cascadetopleft(from:)?language=objc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions