Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Windows 11] Window corner preference

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp

Research direction

Start by locating the Window API and the existing SetShape implementation, then trace the Windows platform code around DwmSetWindowAttribute and DWMWA_WINDOW_CORNER_PREFERENCE. Add Window::SetCornerPreference with default, do-not-round, round, and round-small options, keeping it a no-op on other platforms; done means the native title bar remains usable and each preference produces the requested Windows 11 corner behavior.

Written by the indexing model from the issue text.

Description

enhancement

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:

  • leanflutter/window_manager#470: do not show border radius on Windows
Dominant language
C++
Stars
34
Forks
7
Avg merge
3d 1h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libnativeapi/nativeapi

All issues in libnativeapi/nativeapi

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.