Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update rounded corners shader to only redraw the corners#1523

Open
0x041E wants to merge 1 commit into
yshui:nextfrom
0x041E:rounded-corner-fix
Open

Update rounded corners shader to only redraw the corners#1523
0x041E wants to merge 1 commit into
yshui:nextfrom
0x041E:rounded-corner-fix

Conversation

@0x041E

@0x041E 0x041E commented Jun 10, 2026

Copy link
Copy Markdown

Summary

Currently the rounded corner shader draws the entire window and redraws the entire border. This patch makes the shader only redraw the rounded corners and keep the sides of the border intact which fixes #1519 where the shader overdrawn the border indicator in i3 window manager.

Comparison images highlighting in red what is redrawn:
Current behavior
2026-06-10-120854_1366x768_scrot

with this patch
2026-06-10-120906_1366x768_scrot

image of rounded borders and i3 border indicator working correctly using this patch
2026-06-10-140348_1366x768_scrot

@AdrianoFerrari

Copy link
Copy Markdown

+1
Tested this on next, and yes it fixes #1519 .

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'corner-radius' higher than border width prevents border indicator from showing in i3

2 participants