The insert/drag feedback overlay is drawn with a hardcoded corner radius. From src/view.c:
#define INSERT_FEEDBACK_WIDTH 2
#define INSERT_FEEDBACK_RADIUS 9
Currently only the color is exposed, via insert_feedback_color.
Window corner radii on macOS are no longer a fixed target:
- macOS 26 Tahoe uses a radius that varies with toolbar height, producing several different values across apps
- macOS 27 Golden Gate standardizes windows at 20pt
- Users can override the system radius entirely with
defaults write -g NSConvolutionOverride1 -float <n>
In all three cases the fixed 9pt feedback radius no longer matches the windows it is previewing, which looks rather inconsistent. This is most noticeable for anyone who has set a square or near-square radius, where a rounded overlay sits on top of hard-cornered windows.
So I thought adding config options mirroring the existing insert_feedback_color would be great:
yabai -m config insert_feedback_radius 6
yabai -m config insert_feedback_width 2
Keeping 9 and 2 as the defaults would preserve current behavior for everyone else.
While you could patch src/view.c and build from source, it means giving up the Homebrew install path for a two-token change.
Thanks a lot for maintaining this!
Yabai is great and I couldn't imagine myself using macos without it.
The insert/drag feedback overlay is drawn with a hardcoded corner radius. From
src/view.c:Currently only the color is exposed, via
insert_feedback_color.Window corner radii on macOS are no longer a fixed target:
defaults write -g NSConvolutionOverride1 -float <n>In all three cases the fixed 9pt feedback radius no longer matches the windows it is previewing, which looks rather inconsistent. This is most noticeable for anyone who has set a square or near-square radius, where a rounded overlay sits on top of hard-cornered windows.
So I thought adding config options mirroring the existing
insert_feedback_colorwould be great:Keeping 9 and 2 as the defaults would preserve current behavior for everyone else.
While you could patch
src/view.cand build from source, it means giving up the Homebrew install path for a two-token change.Thanks a lot for maintaining this!
Yabai is great and I couldn't imagine myself using macos without it.