Skip to content

[Windows 11] Window corner preference #73

Description

@lijy91

On Windows 11, top-level windows get rounded corners from DWM. Some apps need square corners, or small rounded ones, while keeping the native title bar.

Proposal: Window::SetCornerPreference(...) backed by DwmSetWindowAttribute(DWMWA_WINDOW_CORNER_PREFERENCE) (default / do-not-round / round / round-small). It's a no-op elsewhere; on macOS, SetShape() or a hidden title bar are the alternatives.

Background:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions